diff options
author | Eric Dumazet <edumazet@google.com> | 2015-05-26 08:55:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-26 23:21:29 -0400 |
commit | d6a4e26afb80c049e7f94e1b7b506dcda61eee88 (patch) | |
tree | 809c23a70ad711aa0f1456068cb73f9c1ac11da9 /net/ipv4/Kconfig | |
parent | 095dc8e0c3686d586a01a50abc3e1bb9ac633054 (diff) | |
download | blackbird-op-linux-d6a4e26afb80c049e7f94e1b7b506dcda61eee88.tar.gz blackbird-op-linux-d6a4e26afb80c049e7f94e1b7b506dcda61eee88.zip |
tcp: tcp_tso_autosize() minimum is one packet
By making sure sk->sk_gso_max_segs minimal value is one,
and sysctl_tcp_min_tso_segs minimal value is one as well,
tcp_tso_autosize() will return a non zero value.
We can then revert 843925f33fcc293d80acf2c5c8a78adf3344d49b
("tcp: Do not apply TSO segment limit to non-TSO packets")
and save few cpu cycles in fast path.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Kconfig')
0 files changed, 0 insertions, 0 deletions