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

Christian Ehrhardt christian.ehrhardt at canonical.com
Mon May 17 18:09:21 CEST 2021


Hi,

FYI, your patch has been queued to stable release 19.11.9

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/19/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/55ed85fb751c5f86abeff326146f2a0764e7bea5

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From 55ed85fb751c5f86abeff326146f2a0764e7bea5 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

[ 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 fbe3dd0ab8..2e6bbce213 100644
--- a/drivers/net/hns3/hns3_rxtx.h
+++ b/drivers/net/hns3/hns3_rxtx.h
@@ -78,8 +78,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			(0x3ff << HNS3_RXD_GRO_SIZE_S)
-- 
2.31.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-05-17 17:40:34.588628469 +0200
+++ 0132-net-hns3-remove-unused-macros.patch	2021-05-17 17:40:29.387811178 +0200
@@ -1 +1 @@
-From 81b129d4190f351776067f9e37f82f6f671e93c1 Mon Sep 17 00:00:00 2001
+From 55ed85fb751c5f86abeff326146f2a0764e7bea5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 81b129d4190f351776067f9e37f82f6f671e93c1 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index ad85d0da94..696f34756f 100644
+index fbe3dd0ab8..2e6bbce213 100644
@@ -23 +24 @@
-@@ -104,8 +104,6 @@
+@@ -78,8 +78,6 @@
@@ -29,2 +29,0 @@
- 
- #define HNS3_RXD_TS_VLD_B			14
@@ -31,0 +31,2 @@
+ #define HNS3_RXD_GRO_SIZE_S			16
+ #define HNS3_RXD_GRO_SIZE_M			(0x3ff << HNS3_RXD_GRO_SIZE_S)


More information about the stable mailing list