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)
commit5615f88614a47d2b802e1d14d31b623696109276
tree3e323a3aeb157cddf60f22d3581763c816d16897
parent0f87230d1a6c253681550c6064715d06a32be73d
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