]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: instrument how long TCP is limited by receive window
authorFrancis Yan <francisyyan@gmail.com>
Mon, 28 Nov 2016 07:07:15 +0000 (23:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 15:04:24 +0000 (10:04 -0500)
commit8041624f84e24b3b528ff125ee2ea89fb0a7e42a
tree3e323a3aeb157cddf60f22d3581763c816d16897
parent44d100fe1742c784742a189c525666a50e05ad2f
tcp: instrument how long TCP is limited by receive window

This patch measures the total time when the TCP stops sending because
the receiver's advertised window is not large enough. Note that
once the limit is lifted we are likely in the busy status if we
have data pending.

Signed-off-by: Francis Yan <francisyyan@gmail.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c