diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-06-27 00:50:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-27 15:48:48 -0400 |
commit | 39ae7eb69db3a3daa3aa2f6c66e37dba1975ef00 (patch) | |
tree | aa3e13945b9ca10db383d33b8942a647058160e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5d7c64a70fa15aef903469b05ca664f7cd17d769 (diff) |
nfp: allow converting representor's netdev into nfp_port
Based on struct net_device_ops figure out if netdev is a nfp_repr.
Use this knowledge to convert netdev directly to nfp_port.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions