OSDN Git Service

net: dsa: hellcreek: Add STP forwarding rule
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 14 Dec 2021 13:45:06 +0000 (14:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Dec 2021 02:46:28 +0000 (18:46 -0800)
commitb7ade35eb53a2455f737a623c24e4b24455b2271
tree9ef793d313f73a45fd2168d111c2d75291be5c02
parent4db4c3ea56978086ca367a355e440de17d534827
net: dsa: hellcreek: Add STP forwarding rule

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>
drivers/net/dsa/hirschmann/hellcreek.c