Re: [PATCH RFC 2/3] net: bridge: set forwarding state on port removal

2016-02-13 Thread Vivien Didelot
Hi Ido, Ido Schimmel writes: > Fri, Feb 12, 2016 at 11:34:19PM IST, vivien.dide...@savoirfairelinux.com > wrote: > > Hi Vivien, > >>When a port leaves a bridge, the bridge layer puts its STP state to >>Disabled. If the port is part of an hardware switch, the mode needs to >>be set to Forwarding

Re: [PATCH RFC 2/3] net: bridge: set forwarding state on port removal

2016-02-13 Thread Ido Schimmel
Fri, Feb 12, 2016 at 11:34:19PM IST, vivien.dide...@savoirfairelinux.com wrote: Hi Vivien, >When a port leaves a bridge, the bridge layer puts its STP state to >Disabled. If the port is part of an hardware switch, the mode needs to >be set to Forwarding in order to restore communication with the

[PATCH RFC 2/3] net: bridge: set forwarding state on port removal

2016-02-12 Thread Vivien Didelot
When a port leaves a bridge, the bridge layer puts its STP state to Disabled. If the port is part of an hardware switch, the mode needs to be set to Forwarding in order to restore communication with the CPU. Call br_set_state() in del_nbp(), which only affects switchdev users. Signed-off-by: Vivi