]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: expose both send and receive intervals for rate sample
authorDeepti Raghavan <deeptir@mit.edu>
Mon, 9 Jul 2018 17:53:39 +0000 (17:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2018 06:01:56 +0000 (23:01 -0700)
commit631aaa9193c22e4dc95b4a62b61a70aa159efff3
tree06b40ce94924ece01ded4e949be9ba05f977faef
parent21f52c2018cad27d49cb766cc0beac2c7e8b0207
tcp: expose both send and receive intervals for rate sample

Congestion control algorithms, which access the rate sample
through the tcp_cong_control function, only have access to the maximum
of the send and receive interval, for cases where the acknowledgment
rate may be inaccurate due to ACK compression or decimation. Algorithms
may want to use send rates and receive rates as separate signals.

Signed-off-by: Deepti Raghavan <deeptir@mit.edu>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_rate.c