commit | 4bb7f4cf60e38a00965d22aa5979ab143193d41f | [log] [tgz] |
---|---|---|
author | Arthur Kiyanovski <akiyano@amazon.com> | Fri May 22 12:09:05 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri May 22 14:12:48 2020 -0700 |
tree | 02649b1e777e259b901925b3373de1e80411015a | |
parent | b0ae3ac4847c6009e7b1963899cd121e84e5082a [diff] |
net: ena: reduce driver load time This commit reduces the driver load time by using usec resolution instead of msec when polling for hardware state change. Also add back-off mechanism to handle cases where minimal sleep time is not enough. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Sameeh Jubran <sameehj@amazon.com> Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>