aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/rx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-04-05 15:00:02 +0100
committerBen Hutchings <bhutchings@solarflare.com>2011-04-05 15:00:02 +0100
commitabfe903980161b11f3594e3dcbab8b5c5a67168b (patch)
tree4bfde1e260cdfe855cfa0e94718ecb1747bac3b4 /drivers/net/sfc/rx.c
parentsfc: Enable all TSO features on VLANs (diff)
downloadlinux-dev-abfe903980161b11f3594e3dcbab8b5c5a67168b.tar.xz
linux-dev-abfe903980161b11f3594e3dcbab8b5c5a67168b.zip
sfc: Implement generic features interface
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/sfc/rx.c')
-rw-r--r--drivers/net/sfc/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c
index fb402c52aaff..b7dc891b4461 100644
--- a/drivers/net/sfc/rx.c
+++ b/drivers/net/sfc/rx.c
@@ -605,7 +605,7 @@ void __efx_rx_packet(struct efx_channel *channel,
skb_record_rx_queue(skb, channel->channel);
}
- if (unlikely(!efx->rx_checksum_enabled))
+ if (unlikely(!(efx->net_dev->features & NETIF_F_RXCSUM)))
checksummed = false;
if (likely(checksummed || rx_buf->is_page)) {