Re: [PATCH net-next v3 04/12] net/mlx5e: Implement ndo_get_port_parent_id()

From: Jiri Pirko
Date: Wed Feb 06 2019 - 08:21:16 EST


Wed, Feb 06, 2019 at 12:53:18AM CET, f.fainelli@xxxxxxxxx wrote:
>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().
>
>Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Acked-by: Jiri Pirko <jiri@xxxxxxxxxxxx>