]> git.baikalelectronics.ru Git - kernel.git/commit
net:ethernet:aquantia: Fix for incorrect speed index.
authorPavel Belous <pavel.belous@aquantia.com>
Mon, 28 Aug 2017 18:52:11 +0000 (21:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Aug 2017 22:11:44 +0000 (15:11 -0700)
commita85b870478b552f08195822070c162d1b97e60e8
tree2c64fbbb2d56b78d8c91aaaac617ddbad38a043a
parentae5ebe475d73b1fb0efa57ec1391adb3a94da44a
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>
drivers/net/ethernet/aquantia/atlantic/aq_hw.h
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h