diff options
author | Igor Russkikh <igor.russkikh@aquantia.com> | 2018-03-20 14:40:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 12:02:49 -0400 |
commit | 47203b3426a6d0ac8b7a96259ed6784158b6d74b (patch) | |
tree | c68df4bb78daf637325949900e767b0b1fd15a19 /drivers/net/ethernet/smsc | |
parent | d0f0fb25d6c7a7c299d9bdaa2a11e96e4102e944 (diff) | |
download | linux-47203b3426a6d0ac8b7a96259ed6784158b6d74b.tar.bz2 |
net: aquantia: Change inefficient wait loop on fw data reads
B1 hardware changes behavior of mailbox interface, it has busy bit
always raised. Data ready condition should be detected by increment
of address register.
Old code has empty `for` loop, and that caused cpu overloads on B1
hardware. aq_nic_service_timer_cb consumed ~100ms because of that.
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc')
0 files changed, 0 insertions, 0 deletions