[dpdk-stable] patch 'net/bnxt: reduce polling interval for valid bit' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Wed Nov 21 17:47:55 CET 2018
Hi,
FYI, your patch has been queued to stable release 18.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/27/18. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.
Thanks.
Kevin Traynor
---
>From b4f2f620c2a74a4d40b55267934377d566681c02 Mon Sep 17 00:00:00 2001
From: Xiaoxin Peng <xiaoxin.peng at broadcom.com>
Date: Fri, 28 Sep 2018 19:00:06 -0700
Subject: [PATCH] net/bnxt: reduce polling interval for valid bit
[ upstream commit a830900063768646a70e5aef1c23ba2530fbc323 ]
Change polling interval for valid bit in bnxt_hwrm_send_message
Poll every 1us instead of 600us.
Fixes: 804e746c7b73 ("net/bnxt: add hardware resource manager init code")
Signed-off-by: Xiaoxin Peng <xiaoxin.peng at broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
drivers/net/bnxt/bnxt_hwrm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c
index 982d2c2bb..80d0ebbb0 100644
--- a/drivers/net/bnxt/bnxt_hwrm.c
+++ b/drivers/net/bnxt/bnxt_hwrm.c
@@ -27,5 +27,5 @@
#include <rte_io.h>
-#define HWRM_CMD_TIMEOUT 10000
+#define HWRM_CMD_TIMEOUT 6000000
#define HWRM_SPEC_CODE_1_8_3 0x10803
#define HWRM_VERSION_1_9_1 0x10901
@@ -132,5 +132,5 @@ static int bnxt_hwrm_send_message(struct bnxt *bp, void *msg,
break;
}
- rte_delay_us(600);
+ rte_delay_us(1);
}
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-11-21 16:44:32.074350298 +0000
+++ 0041-net-bnxt-reduce-polling-interval-for-valid-bit.patch 2018-11-21 16:44:30.000000000 +0000
@@ -1,13 +1,14 @@
-From a830900063768646a70e5aef1c23ba2530fbc323 Mon Sep 17 00:00:00 2001
+From b4f2f620c2a74a4d40b55267934377d566681c02 Mon Sep 17 00:00:00 2001
From: Xiaoxin Peng <xiaoxin.peng at broadcom.com>
Date: Fri, 28 Sep 2018 19:00:06 -0700
Subject: [PATCH] net/bnxt: reduce polling interval for valid bit
+[ upstream commit a830900063768646a70e5aef1c23ba2530fbc323 ]
+
Change polling interval for valid bit in bnxt_hwrm_send_message
Poll every 1us instead of 600us.
Fixes: 804e746c7b73 ("net/bnxt: add hardware resource manager init code")
-Cc: stable at dpdk.org
Signed-off-by: Xiaoxin Peng <xiaoxin.peng at broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
@@ -16,7 +17,7 @@
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c
-index 76e443ec1..999976054 100644
+index 982d2c2bb..80d0ebbb0 100644
--- a/drivers/net/bnxt/bnxt_hwrm.c
+++ b/drivers/net/bnxt/bnxt_hwrm.c
@@ -27,5 +27,5 @@
@@ -26,7 +27,7 @@
+#define HWRM_CMD_TIMEOUT 6000000
#define HWRM_SPEC_CODE_1_8_3 0x10803
#define HWRM_VERSION_1_9_1 0x10901
-@@ -136,5 +136,5 @@ static int bnxt_hwrm_send_message(struct bnxt *bp, void *msg,
+@@ -132,5 +132,5 @@ static int bnxt_hwrm_send_message(struct bnxt *bp, void *msg,
break;
}
- rte_delay_us(600);
More information about the stable
mailing list