Blame SOURCES/0006-ionic_shorter_dev_cmd_wait_time.patch

1632d2
Date: Thu, 18 Jun 2020 19:42:42 -0400
1632d2
From: Jonathan Toppins <jtoppins@redhat.com>
1632d2
To: rhkernel-list@redhat.com
1632d2
Cc: darcari@redhat.com, nhorman@redhat.com, linville@redhat.com
1632d2
Subject: [PATCH RHEL-8.3 07/16] ionic: shorter dev cmd wait time
1632d2
1632d2
Shorten our msleep time while polling for the dev command
1632d2
request to finish.  Yes, checkpatch.pl complains that the
1632d2
msleep might actually go longer - that won't hurt, but we'll
1632d2
take the shorter time if we can get it.
1632d2
1632d2
Signed-off-by: Shannon Nelson <snelson@pensando.io>
1632d2
Signed-off-by: David S. Miller <davem@davemloft.net>
1632d2
(cherry picked from commit 62ba8766f775e5e26c21731c695f68541d504ea6)
1632d2
Bugzilla: 1848149
1632d2
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=29498383
1632d2
Tested: QE tested devel kernel as well as the partner
1632d2
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
1632d2
---
1632d2
 drivers/net/ethernet/pensando/ionic/ionic_main.c | 2 +-
1632d2
 1 file changed, 1 insertion(+), 1 deletion(-)
1632d2
1632d2
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_main.c b/drivers/net/ethernet/pensando/ionic/ionic_main.c
1632d2
index 34ccb8f53cda..782fff35c1c1 100644
1632d2
--- a/drivers/net/ethernet/pensando/ionic/ionic_main.c
1632d2
+++ b/drivers/net/ethernet/pensando/ionic/ionic_main.c
1632d2
@@ -358,7 +358,7 @@ int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds)
1632d2
 		done = ionic_dev_cmd_done(idev);
1632d2
 		if (done)
1632d2
 			break;
1632d2
-		msleep(20);
1632d2
+		msleep(5);
1632d2
 		hb = ionic_heartbeat_check(ionic);
1632d2
 	} while (!done && !hb && time_before(jiffies, max_wait));
1632d2
 	duration = jiffies - start_time;
1632d2
-- 
1632d2
2.16.4
1632d2
1632d2