-
- Downloads
tcp: Apply device TSO segment limit earlier
Cache the device gso_max_segs in sock::sk_gso_max_segs and use it to limit the size of TSO skbs. This avoids the need to fall back to software GSO for local TCP senders. Signed-off-by:Ben Hutchings <bhutchings@solarflare.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/sock.h 2 additions, 0 deletionsinclude/net/sock.h
- net/core/sock.c 1 addition, 0 deletionsnet/core/sock.c
- net/ipv4/tcp.c 3 additions, 1 deletionnet/ipv4/tcp.c
- net/ipv4/tcp_cong.c 2 additions, 1 deletionnet/ipv4/tcp_cong.c
- net/ipv4/tcp_output.c 12 additions, 9 deletionsnet/ipv4/tcp_output.c
Loading
Please register or sign in to comment