]> Git Repo - linux.git/commit
tcp_bbr: better deal with suboptimal GSO (II)
authorEric Dumazet <[email protected]>
Wed, 28 Feb 2018 22:40:46 +0000 (14:40 -0800)
committerDavid S. Miller <[email protected]>
Fri, 2 Mar 2018 02:44:28 +0000 (21:44 -0500)
commitdcb8c9b4373a583451b1b8a3e916d33de273633d
treea77ade8d6e0ba6b56de0f5ea2f868b07d26af178
parent7797dc41417eb0e03f39fc4356f7635bcdef108e
tcp_bbr: better deal with suboptimal GSO (II)

This is second part of dealing with suboptimal device gso parameters.
In first patch (350c9f484bde "tcp_bbr: better deal with suboptimal GSO")
we dealt with devices having low gso_max_segs

Some devices lower gso_max_size from 64KB to 16 KB (r8152 is an example)

In order to probe an optimal cwnd, we want BBR being not sensitive
to whatever GSO constraint a device can have.

This patch removes tso_segs_goal() CC callback in favor of
min_tso_segs() for CC wanting to override sysctl_tcp_min_tso_segs

Next patch will remove bbr->tso_segs_goal since it does not have
to be persistent.

Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/tcp.h
net/ipv4/tcp_bbr.c
net/ipv4/tcp_output.c
This page took 0.054534 seconds and 4 git commands to generate.