summaryrefslogtreecommitdiff
path: root/include/linux/dsa
diff options
context:
space:
mode:
authorEgil Hjelmeland <privat@egil-hjelmeland.no>2017-10-31 17:48:01 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-01 15:30:24 +0300
commite9292f2c03851ef81bef38579a0ee9c42140e586 (patch)
tree23ebfdefb4144e8968845cda1726a2d971e7f530 /include/linux/dsa
parent909fb9ae322154648d7354bcf7cdd0f705fb67f1 (diff)
downloadlinux-e9292f2c03851ef81bef38579a0ee9c42140e586.tar.xz
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>
Diffstat (limited to 'include/linux/dsa')
-rw-r--r--include/linux/dsa/lan9303.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dsa/lan9303.h b/include/linux/dsa/lan9303.h
index 05d8d136baab..b2110e69630f 100644
--- a/include/linux/dsa/lan9303.h
+++ b/include/linux/dsa/lan9303.h
@@ -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