net: dsa: hellcreek: Add STP forwarding rule
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 14 Dec 2021 13:45:06 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:03:37 +0000 (11:03 +0100)
commitc2be5908dd7c01607ba2bdb146a514e5b438b46b
treecea8e63c8d5aa86e25c0a44feb8d2a9623d9f2e1
parent06baf7c33cf3896e3f54285a71484791db99773b
net: dsa: hellcreek: Add STP forwarding rule

[ Upstream commit b7ade35eb53a2455f737a623c24e4b24455b2271 ]

Treat STP as management traffic. STP traffic is designated for the CPU port
only. In addition, STP traffic has to pass blocked ports.

Fixes: e4b27ebc780f ("net: dsa: Add DSA driver for Hirschmann Hellcreek switches")
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/hirschmann/hellcreek.c