diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2026-03-06 17:44:39 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-10 05:01:08 +0300 |
| commit | a23c657e332f2feb5eb9c4a3e8371386aa7392a6 (patch) | |
| tree | 9ecf75989deca86eb846abd2d50f74c5981df4f9 /include | |
| parent | 47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 (diff) | |
| download | linux-a23c657e332f2feb5eb9c4a3e8371386aa7392a6.tar.xz | |
net: ethernet: ti: am65-cpsw: Use also port number to identify timestamps
The driver uses packet-type (RX/TX) PTP-message type and PTP-sequence
number to identify a matching timestamp packet for a skb. If the same
PTP packet arrives on both ports (as in a PRP environment) then it is
not obvious which event belongs to which skb.
The event contains also the port number on which it was received.
Instead of masking it out, use it for matching.
Tested-by: Chintan Vankar <c-vankar@ti.com>
Reviewed-by: Martin Kaistra <martin.kaistra@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://patch.msgid.link/20260306144439.cVwaaopR@linutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
