Re: [RFC net-next 00/13] Get rid of switchdev_ops

From: Jiri Pirko
Date: Sat Feb 02 2019 - 11:01:40 EST


Fri, Feb 01, 2019 at 11:06:44PM CET, f.fainelli@xxxxxxxxx wrote:
>Hi all,
>
>This patch series converts SWITCHDEV_PORT_ATTR_{GET,SET} to use a
>blocking notifier, similar to how SWITCHDEV_PORT_OBJ_{ADD,DEL} has been
>changed recently by Petr.
>
>This was suggested by Ido to help with a particular use case I have
>where I want to be able to veto a switchdev bridge attribute from a
>driver (multicast_snooping).
>
>Please review since I may not have gotten the driver abstraction right,
>especially for mlx5e and nfp since these are *hum* *hum* large drivers.

Looks fine. Thanks!