Re: [PATCH net] net: lan966x: Fix 1-step timestamping over ipv4 or ipv6
From: patchwork-bot+netdevbpf
Date: Mon May 26 2025 - 15:50:02 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Wed, 21 May 2025 14:41:59 +0200 you wrote:
> When enabling 1-step timestamping for ptp frames that are over udpv4 or
> udpv6 then the inserted timestamp is added at the wrong offset in the
> frame, meaning that will modify the frame at the wrong place, so the
> frame will be malformed.
> To fix this, the HW needs to know which kind of frame it is to know
> where to insert the timestamp. For that there is a field in the IFH that
> says the PDU_TYPE, which can be NONE which is the default value,
> IPV4 or IPV6. Therefore make sure to set the PDU_TYPE so the HW knows
> where to insert the timestamp.
> Like I mention before the issue is not seen with L2 frames because by
> default the PDU_TYPE has a value of 0, which represents the L2 frames.
>
> [...]
Here is the summary with links:
- [net] net: lan966x: Fix 1-step timestamping over ipv4 or ipv6
https://git.kernel.org/netdev/net/c/57ee9584fd86
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html