Messages in this thread | | | Date | Mon, 11 Feb 2019 13:39:38 +0100 | From | Jiri Pirko <> | Subject | Re: [PATCH net-next v3 8/9] net: switchdev: Replace port attr get/set SDO with a notification |
| |
Mon, Feb 11, 2019 at 12:40:06AM CET, f.fainelli@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 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() >likewise. > >Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
| |