diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-05-11 17:59:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-12 12:19:30 -0700 |
commit | 62ba8766f775e5e26c21731c695f68541d504ea6 (patch) | |
tree | e13f6569b5ca7e5421ef188f7c50bd95bbc770c8 /drivers/net | |
parent | cba155d591aa28689332bc568632d2f868690be1 (diff) | |
download | linux-62ba8766f775e5e26c21731c695f68541d504ea6.tar.gz |
ionic: shorter dev cmd wait time
Shorten our msleep time while polling for the dev command
request to finish. Yes, checkpatch.pl complains that the
msleep might actually go longer - that won't hurt, but we'll
take the shorter time if we can get it.
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_main.c b/drivers/net/ethernet/pensando/ionic/ionic_main.c index 8e2436d14621..c3f0f84164d3 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_main.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_main.c @@ -358,7 +358,7 @@ try_again: done = ionic_dev_cmd_done(idev); if (done) break; - msleep(20); + msleep(5); hb = ionic_heartbeat_check(ionic); } while (!done && !hb && time_before(jiffies, max_wait)); duration = jiffies - start_time; |