diff options
author | Igor Russkikh <igor.russkikh@aquantia.com> | 2017-10-19 18:23:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-21 12:32:24 +0100 |
commit | b82ee71a86b0ea66da79a91959d800ffb696a5cb (patch) | |
tree | 09d3b88dc813d8aae6b2d1d8ef6c9a6775693d7d /drivers/net/ethernet/aquantia/atlantic/aq_hw.h | |
parent | 6849540adc0bcc8c648d7c11be169d2ca267fbca (diff) | |
download | blackbird-op-linux-b82ee71a86b0ea66da79a91959d800ffb696a5cb.tar.gz blackbird-op-linux-b82ee71a86b0ea66da79a91959d800ffb696a5cb.zip |
net: aquantia: Enable coalescing management via ethtool interface
Aquantia NIC allows both TX and RX interrupt throttle rate (ITR)
management, but this was used in a very limited way via predefined
values. This patch allows to setup ITR default values via module
command line arguments and via standard ethtool coalescing settings.
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@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, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h index 3a8baaef053c..0207927dc8a6 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h @@ -151,8 +151,7 @@ struct aq_hw_ops { [ETH_ALEN], u32 count); - int (*hw_interrupt_moderation_set)(struct aq_hw_s *self, - bool itr_enabled); + int (*hw_interrupt_moderation_set)(struct aq_hw_s *self); int (*hw_rss_set)(struct aq_hw_s *self, struct aq_rss_parameters *rss_params); |