sfc: Implement generic features interface
[pandora-kernel.git] / drivers / net / sfc / rx.c
index fb402c5..b7dc891 100644 (file)
@@ -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)) {