[dpdk-stable] patch 'event/dpaa2: remove dead code from self test' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 9 19:40:02 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

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

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/b50a8c33a3f3c177e20b801b6b9cb77a32404fea

Thanks.

Luca Boccassi

---
>From b50a8c33a3f3c177e20b801b6b9cb77a32404fea Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Wed, 28 Oct 2020 13:20:05 +0100
Subject: [PATCH] event/dpaa2: remove dead code from self test

[ upstream commit b5b2d4a51a9c644f5e5d8893d66e5154c0a7793f ]

This code has never been used since introduction.

Fixes: 653242c3375a ("event/dpaa2: add self test")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Nipun Gupta <nipun.gupta at nxp.com>
---
 drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/drivers/event/dpaa2/dpaa2_eventdev_selftest.c b/drivers/event/dpaa2/dpaa2_eventdev_selftest.c
index ba4f4bd234..1f35807b21 100644
--- a/drivers/event/dpaa2/dpaa2_eventdev_selftest.c
+++ b/drivers/event/dpaa2/dpaa2_eventdev_selftest.c
@@ -47,17 +47,6 @@ struct event_attr {
 	uint8_t seq;
 };
 
-static uint32_t seqn_list_index;
-static int seqn_list[NUM_PACKETS];
-
-static void
-seqn_list_init(void)
-{
-	RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS);
-	memset(seqn_list, 0, sizeof(seqn_list));
-	seqn_list_index = 0;
-}
-
 struct test_core_param {
 	rte_atomic32_t *total_events;
 	uint64_t dequeue_tmo_ticks;
@@ -516,7 +505,7 @@ launch_workers_and_wait(int (*master_worker)(void *),
 		return 0;
 
 	rte_atomic32_set(&atomic_total_events, total_events);
-	seqn_list_init();
+	RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS);
 
 	param = malloc(sizeof(struct test_core_param) * nb_workers);
 	if (!param)
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-09 18:40:11.780360575 +0000
+++ 0014-event-dpaa2-remove-dead-code-from-self-test.patch	2020-11-09 18:40:11.087310598 +0000
@@ -1 +1 @@
-From b5b2d4a51a9c644f5e5d8893d66e5154c0a7793f Mon Sep 17 00:00:00 2001
+From b50a8c33a3f3c177e20b801b6b9cb77a32404fea Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b5b2d4a51a9c644f5e5d8893d66e5154c0a7793f ]
+
@@ -17 +19 @@
-index b1f3891484..5447db8a8a 100644
+index ba4f4bd234..1f35807b21 100644
@@ -38 +40 @@
-@@ -516,7 +505,7 @@ launch_workers_and_wait(int (*main_worker)(void *),
+@@ -516,7 +505,7 @@ launch_workers_and_wait(int (*master_worker)(void *),


More information about the stable mailing list