]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: mscc: Fix parsing of unicast frames
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Sat, 26 Jul 2025 14:03:07 +0000 (16:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:05:09 +0000 (12:05 +0200)
commitee4b57cb60766499406023a2d740aa5121ccd15e
treebe451ec40e337bba8b84cc1ac6e41289500243e9
parentb38231b44be1b0a35d2f62e872d5e9e26533f400
phy: mscc: Fix parsing of unicast frames

[ Upstream commit 6fb5ff63b35b7e849cc8510957f25753f87f63d2 ]

According to the 1588 standard, it is possible to use both unicast and
multicast frames to send the PTP information. It was noticed that if the
frames were unicast they were not processed by the analyzer meaning that
they were not timestamped. Therefore fix this to match also these
unicast frames.

Fixes: ab2bf9339357 ("net: phy: mscc: 1588 block initialization")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250726140307.3039694-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/mscc/mscc_ptp.c
drivers/net/phy/mscc/mscc_ptp.h