sfc: Really allow RX checksum offload to be disabled
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Oct 2009 09:50:44 +0000 (02:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 09:50:44 +0000 (02:50 -0700)
commit9c1bbbaf3eef357b15c0e94085d96f18c6f1bde6
tree2d6639d768263ddf13ec486d416df69b481ad712
parent5beefb4f7793e5bb4d3527ee6559f8281d7d2b76
sfc: Really allow RX checksum offload to be disabled

We have never checked the efx_nic::rx_checksum_enabled flag everywhere
we should, and since the switch to GRO we don't check it anywhere.
It's simplest to check it in the one place where we initialise the
per-packet checksummed flag.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c