aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cavium
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 09:45:36 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-06 14:16:11 -0800
commit52d5254a2d045bba2a744042319c64e1fe41b5c8 (patch)
tree3ac65d5bbb847301d6d96d65b494378d3237df26 /drivers/net/ethernet/cavium
parentnet: Introduce ndo_get_port_parent_id() (diff)
downloadlinux-dev-52d5254a2d045bba2a744042319c64e1fe41b5c8.tar.xz
linux-dev-52d5254a2d045bba2a744042319c64e1fe41b5c8.zip
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 'drivers/net/ethernet/cavium')
0 files changed, 0 insertions, 0 deletions