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

2019-02-15 Thread Florian Fainelli
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.

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

2019-02-11 Thread Jiri Pirko
Mon, Feb 11, 2019 at 12:40:06AM CET, f.faine...@gmail.com 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

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

2019-02-10 Thread Florian Fainelli
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.