]> 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)
commit222182913188d6bf29e239943bfb8c54c7d66fde
tree3e323a3aeb157cddf60f22d3581763c816d16897
parenta74b14e9fa149dac742891c3b9f798abacdbb823
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