Previously, all VLANs (port-based or 802.1q) were sharing
authorImre Kaloz <kaloz@openwrt.org>
Fri, 21 Aug 2015 08:09:52 +0000 (08:09 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 21 Aug 2015 08:09:52 +0000 (08:09 +0000)
commitec070415a69f907137a65b6a255f7cbe0abe7ee7
treeb560cd64eb23e9c2818fb8e0f8b0c2e87a0a1515
parentc842cdc96c9fbc14b39cf7610e448ec18d47275f
Previously, all VLANs (port-based or 802.1q) were sharing
a single database in the ATU. This created problems in the
case of a system where two ports/devices share a MAC address
(e.g. Linksys WRT1900AC eth0/eth1).

This also clears any bootloader-set FDB defaults. This had
caused issues creating port-based VLANs when mappings
overlapped previous VLANs. Packets destined to a port
not in the default port group flooded all ports.

Tested on a 88E6171 (Linksys EA4500) and 88E6172 ('1900AC)

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46699
target/linux/generic/files/drivers/net/phy/mvsw61xx.c
target/linux/generic/files/drivers/net/phy/mvsw61xx.h