mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
[ Upstream commitcad1798d2d] 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:ddd56dfe52("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c2be5908dd
commit
ae914fe931
@@ -1069,7 +1069,7 @@ static int hellcreek_setup_fdb(struct hellcreek *hellcreek)
|
||||
.portmask = 0x03, /* Management ports */
|
||||
.age = 0,
|
||||
.is_obt = 0,
|
||||
.pass_blocked = 0,
|
||||
.pass_blocked = 1,
|
||||
.is_static = 1,
|
||||
.reprio_tc = 6, /* TC: 6 as per IEEE 802.1AS */
|
||||
.reprio_en = 1,
|
||||
|
||||
Reference in New Issue
Block a user