]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-add-4-new-stats'
authorDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 16:56:11 +0000 (09:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 16:56:11 +0000 (09:56 -0700)
commit1c1c1f3c0be7d9c397ad953442a0a8a6096edc25
tree5debcce08aca141b24d1a5c9875d73cae07f3394
parent334476f9c3e44e22575b65889f2ab2c1a0cf6497
parent6542c4684bd47fd6b20ccd8e1984ae646a20c029
Merge branch 'tcp-add-4-new-stats'

Wei Wang says:

====================
tcp: add 4 new stats

This patch series adds 3 RFC4898 stats:
1. tcpEStatsPerfHCDataOctetsOut
2. tcpEStatsPerfOctetsRetrans
3. tcpEStatsStackDSACKDups
and an addtional stat to record the number of data packet reordering
events seen:
4. tcp_reord_seen

Together with the existing stats, application can use them to measure
the retransmission rate in bytes, exclude spurious retransmissions
reflected by DSACK, and keep track of the reordering events on live
connections.
In particular the networks with different MTUs make bytes-based loss stats
more useful. Google servers have been using these stats for many years to
instrument transport and network performance.

Note: The first patch is a refactor to add a helper to calculate
opt_stats size in order to make later changes cleaner.
====================

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