linux/drivers/net/dsa
Vivien Didelot 553eb54444 net: dsa: mv88e6xxx: remove bridge work
Now that the bridge code defers the switchdev port state setting, there
is no need to defer the port STP state change within the mv88e6xxx code.
Thus get rid of the driver's bridge work code.

This also fixes a race condition where the DSA layer assumes that the
bridge code already set the unbridged port's STP state to Disabled
before restoring the Forwarding state.

As a consequence, this also fixes the FDB flush for the unbridged port
which now correctly occurs during the Forwarding to Disabled transition.

Fixes: 0bc05d585d ("switchdev: allow caller to explicitly request attr_set as deferred")
Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-16 13:46:24 -04:00
..
bcm_sf2_regs.h net: dsa: bcm_sf2: Implement FDB operations 2015-10-26 18:14:02 -07:00
bcm_sf2.c dsa: Rename switch chip data to cd 2016-05-11 19:36:28 -04:00
bcm_sf2.h net: dsa: pass bridge down to drivers 2016-02-23 14:52:46 -05:00
Kconfig net: dsa: mv88e6xxx: factorize the switch driver 2016-05-09 14:26:13 -04:00
Makefile net: dsa: mv88e6xxx: factorize the switch driver 2016-05-09 14:26:13 -04:00
mv88e6xxx.c net: dsa: mv88e6xxx: remove bridge work 2016-05-16 13:46:24 -04:00
mv88e6xxx.h net: dsa: mv88e6xxx: remove bridge work 2016-05-16 13:46:24 -04:00
mv88e6060.c net: dsa: constify probed name 2016-04-17 18:54:14 -04:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00