On Tue, May 26, 2015 at 11:55 AM, Eric Dumazet <eric.duma...@gmail.com> wrote: > From: Eric Dumazet <eduma...@google.com> > > 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.
Thanks, Eric! This is a nice clean-up/simplification. Acked-by: Neal Cardwell <ncardw...@google.com> neal -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html