summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 20:45:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-07 01:16:11 +0300
commit6dcfa2343802b1550530f3ba284cb0179cf2efc8 (patch)
tree035ac153d034cffa7a19b2af8435de5f953aa106 /net/switchdev/switchdev.c
parentc4bf24508e1f51cdcd5b810077e3cbcf21f4302c (diff)
downloadlinux-6dcfa2343802b1550530f3ba284cb0179cf2efc8.tar.xz
net/mlx5e: Implement ndo_get_port_parent_id()
mlx5e 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(). Since mlx5e makes use of switchdev_port_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