aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h
diff options
context:
space:
mode:
authorPavel Belous <pavel.belous@aquantia.com>2017-03-23 02:20:39 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-22 19:40:52 -0700
commit68c386590375b2aea5a3154f17882a30170707bf (patch)
tree21aabb2e103b4c38c638e08a701e693a4bc1889b /drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h
parentamd-xgbe: Fix the ECC-related bit position definitions (diff)
downloadlinux-dev-68c386590375b2aea5a3154f17882a30170707bf.tar.xz
linux-dev-68c386590375b2aea5a3154f17882a30170707bf.zip
net:ethernet:aquantia: Fix for RX checksum offload.
Since AQC-100/107/108 chips supports hardware checksums for RX we should indicate this via NETIF_F_RXCSUM flag. v1->v2: 'Signed-off-by' tag added. Signed-off-by: Pavel Belous <pavel.belous@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h
index 8bdee3ddd5a0..f3957e930340 100644
--- a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h
+++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h
@@ -188,6 +188,7 @@ static struct aq_hw_caps_s hw_atl_b0_hw_caps_ = {
.tx_rings = HW_ATL_B0_TX_RINGS,
.rx_rings = HW_ATL_B0_RX_RINGS,
.hw_features = NETIF_F_HW_CSUM |
+ NETIF_F_RXCSUM |
NETIF_F_RXHASH |
NETIF_F_SG |
NETIF_F_TSO |