[dpdk-stable] patch 'net/hns3: use new opcode for clearing hardware resource' has been queued to stable release 19.11.7

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Feb 4 12:28:48 CET 2021


Hi,

FYI, your patch has been queued to stable release 19.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/06/21. 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. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/d4234da00e40d435ee7e016289360b7a0cd6a66a

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From d4234da00e40d435ee7e016289360b7a0cd6a66a Mon Sep 17 00:00:00 2001
From: Hongbo Zheng <zhenghongbo3 at huawei.com>
Date: Thu, 14 Jan 2021 21:33:33 +0800
Subject: [PATCH] net/hns3: use new opcode for clearing hardware resource

[ upstream commit e5d179078b611035395317c80a9285c8a2de18a2 ]

The original command opcode '0x700A' may cause firmware error,
so '0x700A' is deserted, now use '0x700B' to replace it.

Fixes: 223d9eceaeee ("net/hns3: clear residual hardware configurations on init")

Signed-off-by: Hongbo Zheng <zhenghongbo3 at huawei.com>
Signed-off-by: Lijun Ou <oulijun at huawei.com>
---
 drivers/net/hns3/hns3_cmd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/hns3/hns3_cmd.h b/drivers/net/hns3/hns3_cmd.h
index ab16b07a69..e7a220364d 100644
--- a/drivers/net/hns3/hns3_cmd.h
+++ b/drivers/net/hns3/hns3_cmd.h
@@ -208,7 +208,7 @@ enum hns3_opcode_type {
 	HNS3_OPC_FD_COUNTER_OP          = 0x1205,
 
 	/* Clear hardware state command */
-	HNS3_OPC_CLEAR_HW_STATE         = 0x700A,
+	HNS3_OPC_CLEAR_HW_STATE         = 0x700B,
 
 	/* SFP command */
 	HNS3_OPC_SFP_GET_SPEED          = 0x7104,
-- 
2.30.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-04 12:04:31.127201740 +0100
+++ 0073-net-hns3-use-new-opcode-for-clearing-hardware-resour.patch	2021-02-04 12:04:28.070789767 +0100
@@ -1 +1 @@
-From e5d179078b611035395317c80a9285c8a2de18a2 Mon Sep 17 00:00:00 2001
+From d4234da00e40d435ee7e016289360b7a0cd6a66a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e5d179078b611035395317c80a9285c8a2de18a2 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 194c3a731b..e40293b309 100644
+index ab16b07a69..e7a220364d 100644
@@ -22 +23 @@
-@@ -203,7 +203,7 @@ enum hns3_opcode_type {
+@@ -208,7 +208,7 @@ enum hns3_opcode_type {


More information about the stable mailing list