summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-27 00:50:23 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-27 15:48:48 -0400
commit39ae7eb69db3a3daa3aa2f6c66e37dba1975ef00 (patch)
treeaa3e13945b9ca10db383d33b8942a647058160e1 /tools/perf/scripts/python/syscall-counts.py
parent5d7c64a70fa15aef903469b05ca664f7cd17d769 (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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions