diff options
author | Dmitry Bogdanov <dmitry.bogdanov@aquantia.com> | 2018-11-09 11:54:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-09 15:38:10 -0800 |
commit | bbb67a44baf973da734b9fd61cba4211da240751 (patch) | |
tree | a48500a31fcc26540dd0594866a8ca4a00c10b1e /drivers/net/ethernet/aquantia/atlantic/aq_nic.c | |
parent | ad703c2b9127f9acdef697ec4755f6da4beaa266 (diff) | |
download | linux-next-bbb67a44baf973da734b9fd61cba4211da240751.tar.gz |
net: aquantia: allow rx checksum offload configuration
RX Checksum offloads could not be configured and ignored netdev features
flag for checksumming.
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_nic.c')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_nic.c b/drivers/net/ethernet/aquantia/atlantic/aq_nic.c index b5e7c98f424c..7abdc0952425 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_nic.c +++ b/drivers/net/ethernet/aquantia/atlantic/aq_nic.c @@ -118,7 +118,7 @@ void aq_nic_cfg_start(struct aq_nic_s *self) } cfg->link_speed_msk &= cfg->aq_hw_caps->link_speed_msk; - cfg->hw_features = cfg->aq_hw_caps->hw_features; + cfg->features = cfg->aq_hw_caps->hw_features; } static int aq_nic_update_link_status(struct aq_nic_s *self) |