Re: [PATCH net-next v3 8/9] net: switchdev: Replace port attr get/set SDO with a notification

From: Jiri Pirko
Date: Mon Feb 11 2019 - 07:49:07 EST

Mon, Feb 11, 2019 at 12:40:06AM CET, f.fainelli@xxxxxxxxx wrote:
>Drop switchdev_ops.switchdev_port_attr_get and _set. Drop the uses of
>this field from all clients, which were migrated to use switchdev
>notification in the previous patches.
>Add a new function switchdev_port_attr_notify() that sends the switchdev
>notifications SWITCHDEV_PORT_ATTR_GET and _SET.
>Update switchdev_port_attr_get() to dispatch to this new function. Drop
>__switchdev_port_attr_set() and update switchdev_port_attr_set()
>Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Acked-by: Jiri Pirko <jiri@xxxxxxxxxxxx>