aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netkit.c
diff options
context:
space:
mode:
authorAakash Menon <[email protected]>2024-09-17 05:18:29 +0000
committerDavid S. Miller <[email protected]>2024-09-22 18:53:19 +0000
commit151ac45348afc5b56baa584c7cd4876addf461ff (patch)
tree48f7bb9735790c65018430669773e9ce24ff7c37 /drivers/net/netkit.c
parentMerge tag 'net-next-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ne... (diff)
downloadkernel-151ac45348afc5b56baa584c7cd4876addf461ff.tar.gz
kernel-151ac45348afc5b56baa584c7cd4876addf461ff.zip
net: sparx5: Fix invalid timestamps
Bit 270-271 are occasionally unexpectedly set by the hardware. This issue was observed with 10G SFPs causing huge time errors (> 30ms) in PTP. Only 30 bits are needed for the nanosecond part of the timestamp, clear 2 most significant bits before extracting timestamp from the internal frame header. Fixes: 70dfe25cd866 ("net: sparx5: Update extraction/injection for timestamping") Signed-off-by: Aakash Menon <[email protected]> Reviewed-by: Horatiu Vultur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions