net: dsa: mv88e6xxx: disable SA learning for DSA and CPU ports
authorAndrew Lunn <andrew@lunn.ch>
Tue, 3 Nov 2015 15:52:36 +0000 (10:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 16:29:57 +0000 (11:29 -0500)
commit4c7ea3c0791e971f05f78453a587a1640fe09a61
tree7e96e87603b70b8e72f9d2c69d88f80d2caa33d6
parent5ba3f7d61a3a9e6d94462b207d302931b53d8c61
net: dsa: mv88e6xxx: disable SA learning for DSA and CPU ports

Frames with DSA headers passing to/from the CPU were taking place in the
MAC learning on these ports, resulting in incorrect ATU entries. Disable
learning on these ports.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h