]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Do not pass non-TCP packets into GRO code
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 16 May 2013 17:38:13 +0000 (18:38 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 24 Jun 2013 19:00:32 +0000 (20:00 +0100)
commitdd7259571db96abe54e199126af8039c74072800
treee63c2c5f9748452312f8d34c2f8e1fdbeb9349bb
parenta930caa0ba3392a45359aa6baf2e0533e7884ee4
sfc: Do not pass non-TCP packets into GRO code

GRO can handle non-TCP packets and pass them up without coalescing,
but it has to do some extra work to parse the packet which we can
bypass using the hardware parse result.  (This condition yields a
false negative for TCP/IPv6 packets received by Falcon, but its
performance is already poor in that case due to lack of checksum
offload.)

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/rx.c