commit | 47203b3426a6d0ac8b7a96259ed6784158b6d74b | [log] [tgz] |
---|---|---|
author | Igor Russkikh <igor.russkikh@aquantia.com> | Tue Mar 20 14:40:33 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 12:02:49 2018 -0400 |
tree | c68df4bb78daf637325949900e767b0b1fd15a19 | |
parent | d0f0fb25d6c7a7c299d9bdaa2a11e96e4102e944 [diff] |
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>