[dpdk-stable] patch 'mbuf: remove unused next member in dynamic flag/field' has been queued to stable release 19.11.4

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Jul 24 13:57:41 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.4

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

Thanks.

Luca Boccassi

---
>From d1243b7c1a4236ecc7adc54840db5cc4efd7b8e4 Mon Sep 17 00:00:00 2001
From: Xiaolong Ye <xiaolong.ye at intel.com>
Date: Tue, 9 Jun 2020 15:12:56 +0800
Subject: [PATCH] mbuf: remove unused next member in dynamic flag/field

[ upstream commit c67a423c53e9f891204fafcd9481ee1db0ec3b80 ]

TAILQ_ENTRY next is not needed in struct mbuf_dynfield_elt and
mbuf_dynflag_elt, since they are actually chained by rte_tailq_entry's
next field when calling TAILQ_INSERT_TAIL(mbuf_dynfield/dynflag_list, te,
next).

Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")

Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
Acked-by: Olivier Matz <olivier.matz at 6wind.com>
---
 lib/librte_mbuf/rte_mbuf_dyn.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/librte_mbuf/rte_mbuf_dyn.c b/lib/librte_mbuf/rte_mbuf_dyn.c
index d6931f847..953e3ec31 100644
--- a/lib/librte_mbuf/rte_mbuf_dyn.c
+++ b/lib/librte_mbuf/rte_mbuf_dyn.c
@@ -19,7 +19,6 @@
 #define RTE_MBUF_DYN_MZNAME "rte_mbuf_dyn"
 
 struct mbuf_dynfield_elt {
-	TAILQ_ENTRY(mbuf_dynfield_elt) next;
 	struct rte_mbuf_dynfield params;
 	size_t offset;
 };
@@ -31,7 +30,6 @@ static struct rte_tailq_elem mbuf_dynfield_tailq = {
 EAL_REGISTER_TAILQ(mbuf_dynfield_tailq);
 
 struct mbuf_dynflag_elt {
-	TAILQ_ENTRY(mbuf_dynflag_elt) next;
 	struct rte_mbuf_dynflag params;
 	unsigned int bitnum;
 };
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-07-24 12:53:49.513285924 +0100
+++ 0023-mbuf-remove-unused-next-member-in-dynamic-flag-field.patch	2020-07-24 12:53:48.211005044 +0100
@@ -1,15 +1,16 @@
-From c67a423c53e9f891204fafcd9481ee1db0ec3b80 Mon Sep 17 00:00:00 2001
+From d1243b7c1a4236ecc7adc54840db5cc4efd7b8e4 Mon Sep 17 00:00:00 2001
 From: Xiaolong Ye <xiaolong.ye at intel.com>
 Date: Tue, 9 Jun 2020 15:12:56 +0800
 Subject: [PATCH] mbuf: remove unused next member in dynamic flag/field
 
+[ upstream commit c67a423c53e9f891204fafcd9481ee1db0ec3b80 ]
+
 TAILQ_ENTRY next is not needed in struct mbuf_dynfield_elt and
 mbuf_dynflag_elt, since they are actually chained by rte_tailq_entry's
 next field when calling TAILQ_INSERT_TAIL(mbuf_dynfield/dynflag_list, te,
 next).
 
 Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
-Cc: stable at dpdk.org
 
 Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
 Acked-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the stable mailing list