aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/davicom
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-10-01 10:23:44 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-02 16:45:17 -0400
commit6ae705323b716ea7a8cc26bee79176398a9b2e89 (patch)
treee3b90b1519e5b90a6d3ec8b21493c804da185b76 /drivers/net/ethernet/davicom
parentfib_trie: avoid a redundant bit judgement in inflate (diff)
downloadlinux-dev-6ae705323b716ea7a8cc26bee79176398a9b2e89.tar.xz
linux-dev-6ae705323b716ea7a8cc26bee79176398a9b2e89.zip
tcp: sndbuf autotuning improvements
tcp_fixup_sndbuf() is underestimating initial send buffer requirements. It was not noticed because big GSO packets were escaping the limitation, but with smaller TSO packets (or TSO/GSO/SG off), application hits sk_sndbuf before having a chance to fill enough packets in socket write queue. - initial cwnd can be bigger than 10 for specific routes - SKB_TRUESIZE() is a bit under real needs in some cases, because of power-of-two rounding in kmalloc() - Fast Recovery (RFC 5681 3.2) : Cubic needs 70% factor - Extra cushion (application might react slowly to POLLOUT) tcp_v4_conn_req_fastopen() needs to call tcp_init_metrics() before calling tcp_init_buffer_space() Then we realize tcp_new_space() should call tcp_fixup_sndbuf() instead of duplicating this stuff. Rename tcp_fixup_sndbuf() to tcp_sndbuf_expand() to be more descriptive. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom')
0 files changed, 0 insertions, 0 deletions