net: tcp: move GRO/GSO functions to tcp_offload
Would be good to make things explicit and move those functions to a new file called tcp_offload.c, thus make this similar to tcpv6_offload.c. While moving all related functions into tcp_offload.c, we can also make some of them static, since they are only used there. Also, add an explicit registration function. Suggested-by:Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by:
Daniel Borkmann <dborkman@redhat.com> Acked-by:
Eric Dumazet <edumazet@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/tcp.h 5 additions, 4 deletionsinclude/net/tcp.h
- net/ipv4/Makefile 1 addition, 1 deletionnet/ipv4/Makefile
- net/ipv4/af_inet.c 2 additions, 11 deletionsnet/ipv4/af_inet.c
- net/ipv4/tcp.c 0 additions, 241 deletionsnet/ipv4/tcp.c
- net/ipv4/tcp_ipv4.c 1 addition, 65 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_offload.c 332 additions, 0 deletionsnet/ipv4/tcp_offload.c
net/ipv4/tcp_offload.c
0 → 100644
Please register or sign in to comment