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_hw.h | |
parent | ad703c2b9127f9acdef697ec4755f6da4beaa266 (diff) | |
download | linux-stable-bbb67a44baf973da734b9fd61cba4211da240751.tar.gz linux-stable-bbb67a44baf973da734b9fd61cba4211da240751.tar.bz2 linux-stable-bbb67a44baf973da734b9fd61cba4211da240751.zip |
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_hw.h')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_hw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h index 7ec8d24b2b0b..a1e70da358ca 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h @@ -204,6 +204,9 @@ struct aq_hw_ops { int (*hw_get_fw_version)(struct aq_hw_s *self, u32 *fw_version); + int (*hw_set_offload)(struct aq_hw_s *self, + struct aq_nic_cfg_s *aq_nic_cfg); + int (*hw_set_fc)(struct aq_hw_s *self, u32 fc, u32 tc); }; |