]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: lan9303: Add STP ALR entry on port 0
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Tue, 31 Oct 2017 14:48:01 +0000 (15:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 12:30:24 +0000 (21:30 +0900)
commita52f209b76b7d448256f77312900a2ce3194737d
tree23ebfdefb4144e8968845cda1726a2d971e7f530
parenta387211a53c79ab11804f0d857e60292dfcfcad0
net: dsa: lan9303: Add STP ALR entry on port 0

STP BPDUs arriving on user ports must sent to CPU port only,
for processing by the SW bridge.

Add an ALR entry with STP state override to fix that.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c
include/linux/dsa/lan9303.h
net/dsa/tag_lan9303.c