net: phy: broadcom: fix P2P timestamping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: phy: broadcom: fix two-step P2P timestampingdrivers/ | +1 | 0 replies | |
| 2/2 | net: phy: broadcom: fix one-step P2P timestampingdrivers/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/2] net: phy: broadcom: fix P2P timestamping
On a Raspberry Pi CM4 and CM5, the BCM54210PE PHY sends an incorrect Pdelay_Resp, so a peer using P2P measures a path delay that is tens of microseconds too large. This happens with both two-step and one-step P2P, for different reasons, and the two patches fix them separately.
Users of the Raspberry Pi CM4 and CM5 reported the two-step problem:
https://github.com/jclark/rpi-cm4-ptp-guide/issues/34
https://github.com/jclark/rpi-cm4-ptp-guide/issues/49
Patch 1 fixes two-step P2P, the common case. Patch 2 fixes one-step P2P, which the driver sets up as for two-step.
PTP over UDPv6 does not work in either E2E or P2P mode, because when the PHY writes a timestamp into an outgoing message, it sets the UDP checksum to zero; this series does not change this.
I used an LLM coding assistant to help prepare these patches.
James Clark (2):
net: phy: broadcom: fix two-step P2P timestamping
net: phy: broadcom: fix one-step P2P timestamping
drivers/net/phy/bcm-phy-ptp.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-)
base-commit: e1055cbfd6eb578417f3ce983cf44462e8465267
Signature · 1 line
2.56.1