]> git.baikalelectronics.ru Git - kernel.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)
commit7b2b48cf070c9d4c572546eb9ecee5b3b8372723
tree4435b993ae57b1c5696a885a421c97159c543512
parentdae6fb68a0360650ffe138be975da1ce1fa82227
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