]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Disable Message Port bit for CPU port
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 Mar 2015 01:36:30 +0000 (18:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 20:23:50 +0000 (13:23 -0700)
commit395801175537a1234406f1b851ca60d9009b998d
tree5a562ef9f0e1085785653daae0cb2fd4d3c43517
parentf8eaeff1c94627e569c4cb559aa396a382255468
net: dsa: mv88e6xxx: Disable Message Port bit for CPU port

Datasheet says that the Message Port bit should not be set for the CPU port.
Having it set causes DSA tagged packets to be sent to the CPU port roughly
every 30 seconds. Those packets are the same as real packets forwarded between
switch ports if the switch is configured for switching between multiple ports.
The packets are then bridged by the software bridge, resulting in duplicated
packets on the network.

Reported-by: Andrew Lunn <andrew@lunn.ch>
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c