net: tcp: move GRO/GSO functions to tcp_offload
authorDaniel Borkmann <[email protected]>
Fri, 7 Jun 2013 05:11:46 +0000 (05:11 +0000)
committerDavid S. Miller <[email protected]>
Fri, 7 Jun 2013 21:39:05 +0000 (14:39 -0700)
commit28850dc7c71da9d0c0e39246e9ff6913f41f8d0a
tree1ff43aef62041c487d4175af44e73da90bb70ce9
parent5ee98591577aa63dbb9e78a0d142abc86b9063d0
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/tcp.h
net/ipv4/Makefile
net/ipv4/af_inet.c
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_offload.c [new file with mode: 0644]