]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-dsack-multi-seg'
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Jul 2020 19:54:31 +0000 (12:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jul 2020 19:54:31 +0000 (12:54 -0700)
commitde26e7a124778ff7fe7a1e44813bcc6dde0bd97d
tree9d7078789cda963aeeeb97f5185b2efcd281c4b1
parent6c3342c1a4a17b41caced1dbb9667049240cf58e
parent9e208c7f37777676a9017599f3ab4d995223622c
Merge branch 'tcp-dsack-multi-seg'

Priyaranjan Jha says:

====================
tcp: improve handling of DSACK covering multiple segments

Currently, while processing DSACK, we assume DSACK covers only one
segment. This leads to significant underestimation of no. of duplicate
segments with LRO/GRO. Also, the existing SNMP counters, TCPDSACKRecv
and TCPDSACKOfoRecv, make similar assumption for DSACK, which makes them
unusable for estimating spurious retransmit rates.

This patch series fixes the segment accounting with DSACK, by estimating
number of duplicate segments based on: (DSACKed sequence range) / MSS.
It also introduces a new SNMP counter, TCPDSACKRecvSegs, which tracks
the estimated number of duplicate segments.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>