net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 14 Dec 2021 13:45:07 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:03:37 +0000 (11:03 +0100)
commitae914fe9310e772e07b1396cae97c2e31cd603f9
tree5c35d36920e8b06e91abb1874711d4dd88e3b3ff
parentc2be5908dd7c01607ba2bdb146a514e5b438b46b
net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports

[ Upstream commit cad1798d2d0811ded37d1e946c6796102e58013b ]

Allow PTP peer delay measurements on blocked ports by STP. In case of topology
changes the PTP stack can directly start with the correct delays.

Fixes: ddd56dfe52c9 ("net: dsa: hellcreek: Add PTP clock support")
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