diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-04-05 15:00:02 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-04-05 15:00:02 +0100 |
commit | abfe903980161b11f3594e3dcbab8b5c5a67168b (patch) | |
tree | 4bfde1e260cdfe855cfa0e94718ecb1747bac3b4 /drivers/net/sfc/rx.c | |
parent | f82d9a67fbcdfd8af6be7a7c9e381864ec9a271a (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c index fb402c52aaf..b7dc891b446 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)) { |