On Sun, 7 Jul 2019 23:28:24 +0300, Vladimir Oltean <olte...@gmail.com> wrote: > I thought the dsa_port_notify functions are just to be > called from switchdev. I'm still not sure I fully understand, but I'll > try to switch to that in v2 and see what happens.
dsa_port_notify is used to forward an event occuring on a given port, to all switch chips of a fabric. For example when programming a VLAN on a port, all ports interconnecting switches together must to programmed too. Even though mainly switchdev objects or attributes are notified at the moment, a DSA notification is not specific to switchdev. Thanks, Vivien