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)
commite79255de8581fac7c77dba443d5e79bbc6e72a1f
treee63c2c5f9748452312f8d34c2f8e1fdbeb9349bb
parentd07df8ec089cc72dded73dac5cf564ef9bba2fa1
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