[dpdk-stable] patch 'test/eventdev: fix producer core validity checks' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Fri Aug 23 11:43:24 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.3

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

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/dbce7dc53468425624ec122e20cfeec86f458179

Thanks.

Kevin Traynor

---
>From dbce7dc53468425624ec122e20cfeec86f458179 Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Sun, 30 Jun 2019 23:22:40 +0530
Subject: [PATCH] test/eventdev: fix producer core validity checks

[ upstream commit 902387ea4ed1e10330bf74dcad5b715ed5118efd ]

When producer type is event timer adapter producer lcore checks are
skipped. Since, timer adapter relies on SW to arm timers producer lcore
is essential for its functionality.
Verify producer lcore validity when producer type is event timer
adapter.

Fixes: b01974da9f25 ("app/eventdev: add ethernet device producer option")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
Acked-by: Jerin Jacob <jerinj at marvell.com>
---
 app/test-eventdev/test_perf_common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c
index f99a6a607..f93729a12 100644
--- a/app/test-eventdev/test_perf_common.c
+++ b/app/test-eventdev/test_perf_common.c
@@ -584,5 +584,6 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)
 	}
 
-	if (opt->prod_type == EVT_PROD_TYPE_SYNT) {
+	if (opt->prod_type == EVT_PROD_TYPE_SYNT ||
+			opt->prod_type == EVT_PROD_TYPE_EVENT_TIMER_ADPTR) {
 		/* Validate producer lcores */
 		if (evt_lcores_has_overlap(opt->plcores,
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-08-22 19:38:22.658608843 +0100
+++ 0034-test-eventdev-fix-producer-core-validity-checks.patch	2019-08-22 19:38:20.455026450 +0100
@@ -1 +1 @@
-From 902387ea4ed1e10330bf74dcad5b715ed5118efd Mon Sep 17 00:00:00 2001
+From dbce7dc53468425624ec122e20cfeec86f458179 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 902387ea4ed1e10330bf74dcad5b715ed5118efd ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 01f782820..2e9e83e88 100644
+index f99a6a607..f93729a12 100644
@@ -25 +26 @@
-@@ -563,5 +563,6 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)
+@@ -584,5 +584,6 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)


More information about the stable mailing list