Re: [PATCH net-next 04/11] net: dsa: Add support for learning FDB through notification

2017-07-19 Thread Arkadi Sharshevsky
On 07/18/2017 08:16 PM, Vivien Didelot wrote: > Hi Arkadi, > > Arkadi Sharshevsky writes: > >> --- a/include/net/dsa.h >> +++ b/include/net/dsa.h >> @@ -451,6 +451,7 @@ void unregister_switch_driver(struct dsa_switch_driver >> *type); >> struct mii_bus

Re: [PATCH net-next 04/11] net: dsa: Add support for learning FDB through notification

2017-07-18 Thread Vivien Didelot
Hi Arkadi, Arkadi Sharshevsky writes: > --- a/include/net/dsa.h > +++ b/include/net/dsa.h > @@ -451,6 +451,7 @@ void unregister_switch_driver(struct dsa_switch_driver > *type); > struct mii_bus *dsa_host_dev_to_mii_bus(struct device *dev); > > struct net_device

[PATCH net-next 04/11] net: dsa: Add support for learning FDB through notification

2017-07-18 Thread Arkadi Sharshevsky
Add support for learning FDB through notification. The driver defers the hardware update via ordered work queue. In case of a successful FDB add a notification is sent back to bridge. In case of hw FDB del failure the static FDB will be deleted from the bridge, thus, the interface is moved to