diff options
| author | Florian Fainelli <[email protected]> | 2019-02-06 09:45:36 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-06 14:16:11 -0800 |
| commit | 52d5254a2d045bba2a744042319c64e1fe41b5c8 (patch) | |
| tree | 3ac65d5bbb847301d6d96d65b494378d3237df26 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | d6abc5969463359c366d459247b90366fcd6f5c5 (diff) | |
bnxt: Implement ndo_get_port_parent_id()
BNXT only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a
great candidate to be converted to use the ndo_get_port_parent_id() NDO
instead of implementing switchdev_port_attr_get(). The conversion is
straight forward here since the PF and VF code use the same getter.
Since bnxt makes uses of switchdev_port_same_parent_id() convert it to
use netdev_port_same_parent_id().
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions