]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitbd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e
tree2c64fbbb2d56b78d8c91aaaac617ddbad38a043a
parent0a402e7b9725611069dad4c873d1516f8c805f38
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