[dpdk-stable] patch 'net/hns3: remove unused macros' has been queued to stable release 20.11.2

Xueming Li xuemingl at nvidia.com
Mon May 10 18:02:44 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 05/12/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/bd0494c495a42195dca02b29724dff249b245796

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From bd0494c495a42195dca02b29724dff249b245796 Mon Sep 17 00:00:00 2001
From: "Min Hu (Connor)" <humin29 at huawei.com>
Date: Mon, 19 Apr 2021 16:13:31 +0800
Subject: [PATCH] net/hns3: remove unused macros
Cc: Luca Boccassi <bluca at debian.org>

[ upstream commit 81b129d4190f351776067f9e37f82f6f671e93c1 ]

'HNS3_RXD_TSIND_S' and 'HNS3_RXD_TSIND_M' is unused, which should
be deleted.

This patch fixed it.

Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")

Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
---
 drivers/net/hns3/hns3_rxtx.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/hns3/hns3_rxtx.h b/drivers/net/hns3/hns3_rxtx.h
index 2a57c24f4a..01514e2afd 100644
--- a/drivers/net/hns3/hns3_rxtx.h
+++ b/drivers/net/hns3/hns3_rxtx.h
@@ -102,8 +102,6 @@
 #define HNS3_RXD_LUM_B				9
 #define HNS3_RXD_CRCP_B				10
 #define HNS3_RXD_L3L4P_B			11
-#define HNS3_RXD_TSIND_S			12
-#define HNS3_RXD_TSIND_M			(0x7 << HNS3_RXD_TSIND_S)
 #define HNS3_RXD_LKBK_B				15
 #define HNS3_RXD_GRO_SIZE_S			16
 #define HNS3_RXD_GRO_SIZE_M			(0x3fff << HNS3_RXD_GRO_SIZE_S)
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-05-10 23:59:32.130597900 +0800
+++ 0216-net-hns3-remove-unused-macros.patch	2021-05-10 23:59:26.690000000 +0800
@@ -1 +1 @@
-From 81b129d4190f351776067f9e37f82f6f671e93c1 Mon Sep 17 00:00:00 2001
+From bd0494c495a42195dca02b29724dff249b245796 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Luca Boccassi <bluca at debian.org>
+
+[ upstream commit 81b129d4190f351776067f9e37f82f6f671e93c1 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index ad85d0da94..696f34756f 100644
+index 2a57c24f4a..01514e2afd 100644
@@ -23 +25 @@
-@@ -104,8 +104,6 @@
+@@ -102,8 +102,6 @@
@@ -29,2 +30,0 @@
- 
- #define HNS3_RXD_TS_VLD_B			14
@@ -31,0 +32,2 @@
+ #define HNS3_RXD_GRO_SIZE_S			16
+ #define HNS3_RXD_GRO_SIZE_M			(0x3fff << HNS3_RXD_GRO_SIZE_S)


More information about the stable mailing list