Eric Dumazet
d6a4e26afb
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>
2015-05-26 23:21:29 -04:00
..
2015-05-23 01:22:35 -04:00
2015-05-11 10:50:18 -04:00
2015-04-07 15:25:55 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-06 22:34:15 -04:00
2015-03-11 16:22:14 -04:00
2015-04-03 12:11:15 -04:00
2015-05-02 22:17:44 -04:00
2015-05-23 01:22:35 -04:00
2015-04-16 12:11:19 -04:00
2015-05-13 15:59:13 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-05-04 14:49:23 -04:00
2015-05-21 18:55:32 -04:00
2015-04-29 17:10:38 -04:00
2015-04-03 12:11:15 -04:00
2015-05-26 19:48:46 -04:00
2015-05-13 15:21:33 -04:00
2015-05-25 00:08:48 -04:00
2015-05-19 00:15:27 -04:00
2015-04-03 12:11:15 -04:00
2015-04-07 15:25:55 -04:00
2015-04-03 12:11:15 -04:00
2015-05-25 00:06:58 -04:00
2015-04-03 12:11:15 -04:00
2015-05-14 22:30:54 -04:00
2015-04-07 15:29:08 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-05-17 13:08:29 -04:00
2015-04-07 15:25:55 -04:00
2015-05-13 15:59:13 -04:00
2015-05-13 15:59:13 -04:00
2015-04-04 12:25:22 -04:00
2015-05-01 22:02:47 -04:00
2015-05-09 16:42:32 -04:00
2015-04-13 18:18:05 -04:00
2015-05-23 01:22:35 -04:00
2015-03-25 00:57:48 -04:00
2015-05-26 23:21:29 -04:00
2015-03-20 18:51:09 -04:00
2015-03-11 16:51:51 -04:00
2015-04-29 17:10:38 -04:00
2015-04-03 12:11:15 -04:00
2015-05-22 13:46:06 -04:00
2015-04-29 17:10:38 -04:00
2015-05-23 01:22:35 -04:00
2015-05-21 23:25:21 -04:00
2015-02-12 18:54:10 -08:00
2015-04-07 18:36:39 -04:00
2015-05-23 01:22:35 -04:00
2015-02-28 16:56:51 -05:00
2015-05-26 23:21:29 -04:00
2015-05-17 22:45:48 -04:00
2015-04-29 17:10:38 -04:00
2015-04-29 17:10:38 -04:00
2015-05-05 19:50:09 -04:00
2015-05-25 00:06:59 -04:00
2015-04-03 12:11:15 -04:00
2015-03-02 13:06:31 -05:00
2015-04-03 12:11:15 -04:00
2015-05-11 10:50:18 -04:00
2015-04-07 22:24:37 -04:00
2015-04-07 15:25:55 -04:00
2015-03-25 14:07:04 -04:00
2015-04-07 15:25:55 -04:00
2015-04-03 12:11:15 -04:00