alistair23-linux/drivers/net/dsa
Vivien Didelot e79a8bcb78 net: dsa: mv88e6xxx: isolate unbridged ports
The DSA documentation specifies that each port must be capable of
forwarding frames to the CPU port. The last changes on bridging support
for the mv88e6xxx driver broke this requirement for non-bridged ports.

So as for the bridged ports, reserve a few VLANs (4000+) in the switch
to isolate ports that have not been bridged yet.

By default, a port will be isolated with the CPU and DSA ports. When the
port joins a bridge, it will leave its reserved port. When it is removed
from a bridge, it will join its reserved VLAN again.

Fixes: 5fe7f68016 ("net: dsa: mv88e6xxx: fix hardware bridging")
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>
2015-11-05 13:37:23 -05:00
..
bcm_sf2.c net: dsa: bcm_sf2: Unhardcode port numbers 2015-10-26 18:23:59 -07:00
bcm_sf2.h net: dsa: bcm_sf2: Unhardcode port numbers 2015-10-26 18:23:59 -07:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Implement FDB operations 2015-10-26 18:14:02 -07:00
Kconfig dsa: mv88e6352/mv88e6xxx: Add support for Marvell 88E6320 and 88E6321 2015-07-09 14:34:23 -07:00
Makefile net: dsa: Add support for Marvell 88E6352 2014-10-30 14:54:10 -04:00
mv88e6xxx.c net: dsa: mv88e6xxx: isolate unbridged ports 2015-11-05 13:37:23 -05:00
mv88e6xxx.h net: dsa: mv88e6xxx: isolate unbridged ports 2015-11-05 13:37:23 -05:00
mv88e6060.c net: dsa: Make mv88e6060 use nested mdiobus read/write 2015-10-23 05:57:45 -07:00
mv88e6123_61_65.c net: dsa: mv88e6xxx: lookup switch name 2015-11-02 15:54:13 -05:00
mv88e6131.c net: dsa: mv88e6xxx: lookup switch name 2015-11-02 15:54:13 -05:00
mv88e6171.c net: dsa: mv88e6xxx: isolate unbridged ports 2015-11-05 13:37:23 -05:00
mv88e6352.c net: dsa: mv88e6xxx: isolate unbridged ports 2015-11-05 13:37:23 -05:00