Messages in this thread | | | Subject | Re: [PATCH net-next 4/4] net: dsa: use switchdev handle helpers | From | Florian Fainelli <> | Date | Tue, 11 Jun 2019 16:10:45 -0700 |
| |
On 6/11/19 2:47 PM, Vivien Didelot wrote: > Get rid of the dsa_slave_switchdev_port_{attr_set,obj}_event functions > in favor of the switchdev_handle_port_{attr_set,obj_add,obj_del} > helpers which recurse into the lower devices of the target interface. > > This has the benefit of being aware of the operations made on the > bridge device itself, where orig_dev is the bridge, and dev is the > slave. This can be used later to configure bridge-wide attributes on > the hardware switches. > > Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Nice cleanup, thanks! -- Florian
| |