]> 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)
commitf207b8ec07603c3e9bd6d13fc5e30e30c9178102
tree06b40ce94924ece01ded4e949be9ba05f977faef
parentc710471b80278f96f0fc580919344f74b3c23d9a
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