summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/switchx2.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 09:45:38 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-06 14:16:11 -0800
commit6dcfa2343802b1550530f3ba284cb0179cf2efc8 (patch)
tree035ac153d034cffa7a19b2af8435de5f953aa106 /drivers/net/ethernet/mellanox/mlxsw/switchx2.c
parentc4bf24508e1f51cdcd5b810077e3cbcf21f4302c (diff)
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 'drivers/net/ethernet/mellanox/mlxsw/switchx2.c')
0 files changed, 0 insertions, 0 deletions