diff options
author | Eric Dumazet <edumazet@google.com> | 2023-12-07 21:13:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-09 04:15:51 +0300 |
commit | 9c25aae0132b8babbe71ebb2160186d69231d9b3 (patch) | |
tree | 86bd1fd6f173616afa85e8322459c36f0aa4f99a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a45f1e46274256852990c479fbb1198a7d84529b (diff) | |
download | linux-9c25aae0132b8babbe71ebb2160186d69231d9b3.tar.xz |
tcp: fix tcp_disordered_ack() vs usec TS resolution
After commit 939463016b7a ("tcp: change data receiver flowlabel after one dup")
we noticed an increase of TCPACKSkippedPAWS events.
Neal Cardwell tracked the issue to tcp_disordered_ack() assumption
about remote peer TS clock.
RFC 1323 & 7323 are suggesting the following:
"timestamp clock frequency in the range 1 ms to 1 sec per tick
between 1ms and 1sec."
This has to be adjusted for 1 MHz clock frequency.
This hints at reorders of SACK packets on send side,
this might deserve a future patch.
(skb->ooo_okay is always set for pure ACK packets)
Fixes: 614e8316aa4c ("tcp: add support for usec resolution in TCP TS values")
Co-developed-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Morley <morleyd@google.com>
Link: https://lore.kernel.org/r/20231207181342.525181-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions