]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47abc250fc28017ac71f588da9eaa263b730c237
tree7e96e87603b70b8e72f9d2c69d88f80d2caa33d6
parent1aa6c2722c6d74711a53b4ca9fea3c85cdb16a77
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