From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 820CB1B107 for ; Wed, 21 Nov 2018 17:50:32 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D2934168F; Wed, 21 Nov 2018 16:50:31 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id BDC055C21E; Wed, 21 Nov 2018 16:50:30 +0000 (UTC) From: Kevin Traynor To: Xiaoxin Peng Cc: Ajit Khaparde , dpdk stable Date: Wed, 21 Nov 2018 16:47:55 +0000 Message-Id: <20181121164828.32249-41-ktraynor@redhat.com> In-Reply-To: <20181121164828.32249-1-ktraynor@redhat.com> References: <20181121164828.32249-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 21 Nov 2018 16:50:31 +0000 (UTC) Subject: [dpdk-stable] patch 'net/bnxt: reduce polling interval for valid bit' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 16:50:32 -0000 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 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 Reviewed-by: Ajit Khaparde --- 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 -#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 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@dpdk.org Signed-off-by: Xiaoxin Peng Reviewed-by: Ajit Khaparde @@ -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);