]> 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)
commit79c5a49ebb3dbb2a9164367871864b5055e1c7df
treee63c2c5f9748452312f8d34c2f8e1fdbeb9349bb
parent200ce31649afa5a4c505d42d217e72623cef7e40
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