]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gro: should aggregate frames without DF
authorEric Dumazet <edumazet@google.com>
Fri, 31 May 2013 11:18:10 +0000 (11:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2013 23:25:56 +0000 (16:25 -0700)
commitdb8caf3dbc77599dc90f4ea0a803cd1d97116f30
tree4435b993ae57b1c5696a885a421c97159c543512
parentc3f1dbaf6e281642848b78fe101764170c15f168
gro: should aggregate frames without DF

GRO on IPv4 doesn't aggregate frames if they don't have DF bit set.

Some servers use IP_MTU_DISCOVER/IP_PMTUDISC_PROBE, so linux receivers
are unable to aggregate this kind of traffic.

The right thing to do is to allow aggregation as long as the DF bit has
same value on all segments.

bnx2x LRO does this correctly.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jerry Chu <hkchu@google.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c