mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
909fb9ae32
commit
e9292f2c03
3 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,6 @@
|
|||
#define LAN9303_TAG_LEN 4
|
||||
# define LAN9303_TAG_TX_USE_ALR BIT(3)
|
||||
# define LAN9303_TAG_TX_STP_OVERRIDE BIT(4)
|
||||
#define eth_stp_addr eth_reserved_addr_base
|
||||
|
||||
/* Decide whether to transmit using ALR lookup, or transmit directly to
|
||||
* port using tag. ALR learning is performed only when using ALR lookup.
|
||||
|
|
|
|||
Loading…
Reference in a new issue