]> git.baikalelectronics.ru Git - kernel.git/commit
net: tcp: move GRO/GSO functions to tcp_offload
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 7 Jun 2013 05:11:46 +0000 (05:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jun 2013 21:39:05 +0000 (14:39 -0700)
commita7b6b3dd80e7e5d3458664112c37acc7ceee75d0
tree1ff43aef62041c487d4175af44e73da90bb70ce9
parent7cf6726d79c00bf92bb455abdf596cb8fbf5963e
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>
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]