Re: [PATCH net-next 2/7] net: dsa: bcm_sf2: Disable learning while in WoL

2018-07-17 Thread Florian Fainelli
On 07/17/2018 08:54 AM, Andrew Lunn wrote: > On Tue, Jul 17, 2018 at 08:36:40AM -0700, Florian Fainelli wrote: >> When we are in Wake-on-LAN, we operate with the host sofware not running >> a network stack, so we want to the switch to flood packets > > Hi Florian > > Just to be sure... > > B

Re: [PATCH net-next 2/7] net: dsa: bcm_sf2: Disable learning while in WoL

2018-07-17 Thread Andrew Lunn
On Tue, Jul 17, 2018 at 08:36:40AM -0700, Florian Fainelli wrote: > When we are in Wake-on-LAN, we operate with the host sofware not running > a network stack, so we want to the switch to flood packets Hi Florian Just to be sure... By flood, you mean from a user port to the CPU. You don't mean

[PATCH net-next 2/7] net: dsa: bcm_sf2: Disable learning while in WoL

2018-07-17 Thread Florian Fainelli
When we are in Wake-on-LAN, we operate with the host sofware not running a network stack, so we want to the switch to flood packets in order to cause a system wake-up when matching specific filters (unicast or multicast). This was not necessary before since we supported Magic Packet which are targe