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/event_analyzing_sample.py | |
| parent | nfp: move representors' struct net_device_ops to shared code (diff) | |
| download | linux-39ae7eb69db3a3daa3aa2f6c66e37dba1975ef00.tar.gz linux-39ae7eb69db3a3daa3aa2f6c66e37dba1975ef00.zip | |
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
