[dpdk-stable] patch 'net/hns3: fix mailbox message ID in log' has been queued to stable release 20.11.2

Xueming Li xuemingl at nvidia.com
Sat Jun 12 01:03:39 CEST 2021


Hi,

FYI, your patch has been queued to stable release 20.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/14/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/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/a795428a299f7c5e28149071973ec524152e819a

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From a795428a299f7c5e28149071973ec524152e819a Mon Sep 17 00:00:00 2001
From: Chengwen Feng <fengchengwen at huawei.com>
Date: Mon, 10 May 2021 21:38:10 +0800
Subject: [PATCH] net/hns3: fix mailbox message ID in log
Cc: Luca Boccassi <bluca at debian.org>

[ upstream commit 34a9a44a3288506316d51b8f0b5a74b81a5db9ec ]

The mailbox message id is uint8_t, but the unsupported mailbox message
id was logged by uint16.

Fixes: 463e748964f5 ("net/hns3: support mailbox")

Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
---
 drivers/net/hns3/hns3_mbx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/hns3/hns3_mbx.c b/drivers/net/hns3/hns3_mbx.c
index 6f0a216d11..f8d83c313d 100644
--- a/drivers/net/hns3/hns3_mbx.c
+++ b/drivers/net/hns3/hns3_mbx.c
@@ -551,7 +551,7 @@ hns3_dev_handle_mbx_msg(struct hns3_hw *hw)
 			break;
 		default:
 			hns3_err(hw, "received unsupported(%u) mbx msg",
-				 req->msg[0]);
+				 opcode);
 			break;
 		}
 
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-06-12 06:53:59.792791000 +0800
+++ 0125-net-hns3-fix-mailbox-message-ID-in-log.patch	2021-06-12 06:53:56.530000000 +0800
@@ -1 +1 @@
-From 34a9a44a3288506316d51b8f0b5a74b81a5db9ec Mon Sep 17 00:00:00 2001
+From a795428a299f7c5e28149071973ec524152e819a Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Luca Boccassi <bluca at debian.org>
+
+[ upstream commit 34a9a44a3288506316d51b8f0b5a74b81a5db9ec ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +21 @@
-index 31ab130aae..f36cb10d08 100644
+index 6f0a216d11..f8d83c313d 100644
@@ -22 +24 @@
-@@ -540,7 +540,7 @@ hns3_dev_handle_mbx_msg(struct hns3_hw *hw)
+@@ -551,7 +551,7 @@ hns3_dev_handle_mbx_msg(struct hns3_hw *hw)


More information about the stable mailing list