diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-06 20:45:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 01:16:11 +0300 |
commit | 52d5254a2d045bba2a744042319c64e1fe41b5c8 (patch) | |
tree | 3ac65d5bbb847301d6d96d65b494378d3237df26 /net/switchdev/switchdev.c | |
parent | d6abc5969463359c366d459247b90366fcd6f5c5 (diff) | |
download | linux-52d5254a2d045bba2a744042319c64e1fe41b5c8.tar.xz |
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 <jiri@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions