diff options
author | Pavel Belous <pavel.belous@aquantia.com> | 2017-08-28 21:52:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 01:11:44 +0300 |
commit | bd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e (patch) | |
tree | 2c64fbbb2d56b78d8c91aaaac617ddbad38a043a /drivers/net/ethernet/aquantia/atlantic/aq_hw.h | |
parent | 0a402e7b9725611069dad4c873d1516f8c805f38 (diff) | |
download | linux-bd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e.tar.xz |
net:ethernet:aquantia: Fix for incorrect speed index.
The driver choose the optimal interrupt throttling settings depends
of current link speed.
Due this bug link_status field from aq_hw is never updated and as result
always used same interrupt throttling values.
Fixes: 3d2ff7eebe26 ("net: ethernet: aquantia: Atlantic hardware abstraction layer")
Signed-off-by: Pavel Belous <Pavel.Belous@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 fce0fd3f23ff..bf9b3f020e10 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h @@ -105,8 +105,7 @@ struct aq_hw_ops { int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr); - int (*hw_get_link_status)(struct aq_hw_s *self, - struct aq_hw_link_status_s *link_status); + int (*hw_get_link_status)(struct aq_hw_s *self); int (*hw_set_link_speed)(struct aq_hw_s *self, u32 speed); |