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>
This commit is contained in:
committed by
David S. Miller
parent
909fb9ae32
commit
e9292f2c03
@@ -34,3 +34,5 @@ struct lan9303 {
|
||||
**/
|
||||
struct lan9303_alr_cache_entry alr_cache[LAN9303_NUM_ALR_RECORDS];
|
||||
};
|
||||
|
||||
#define eth_stp_addr eth_reserved_addr_base
|
||||
|
||||
Reference in New Issue
Block a user