tcp: Add GRO support
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Dec 2008 07:43:36 +0000 (23:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 07:43:36 +0000 (23:43 -0800)
commitbf296b125b21b8d558ceb6ec30bb4eba2730cd6b
tree5a06714c4001ccf1b217b888121f30d57fceea6d
parent71d93b39e52e92aea35f1058d957cf12250d0b75
tcp: Add GRO support

This patch adds the TCP-specific portion of GRO.  The criterion for
merging is extremely strict (the TCP header must match exactly apart
from the checksum) so as to allow refragmentation.  Otherwise this
is pretty much identical to LRO, except that we support the merging
of ECN packets.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/af_inet.c
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c