patch 'eventdev: fix vector adapter power-of-2 size check' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 13:58:53 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

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

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

Thanks.

Kevin

---
>From 50736e9306ef9bd86db6a46dfa7f439e3c35082e Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Thu, 10 Sep 2026 19:26:48 +0530
Subject: [PATCH] eventdev: fix vector adapter power-of-2 size check

[ upstream commit 2e4cc0662dccdcca89427fc263ab5ebf95ef5c51 ]

validate_conf() rejected valid configurations and accepted invalid
ones: when the adapter requires a log2 vector size it errored out if
the size *was* a power of 2 (rte_is_power_of_2() != 0) instead of when
it was not. Invert the condition to reject non-power-of-2 sizes.

Fixes: e12c3754da7a ("eventdev/vector: introduce event vector adapter")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 lib/eventdev/rte_event_vector_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eventdev/rte_event_vector_adapter.c b/lib/eventdev/rte_event_vector_adapter.c
index ad764e2882..9a839517c8 100644
--- a/lib/eventdev/rte_event_vector_adapter.c
+++ b/lib/eventdev/rte_event_vector_adapter.c
@@ -87,5 +87,5 @@ validate_conf(const struct rte_event_vector_adapter_conf *conf,
 	}
 
-	if (info->log2_sz && rte_is_power_of_2(conf->vector_sz) != 0) {
+	if (info->log2_sz && rte_is_power_of_2(conf->vector_sz) == 0) {
 		EVVEC_LOG_DBG("invalid vector size %u, should be a power of 2", conf->vector_sz);
 		return rc;
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:39.562270664 +0000
+++ 0007-eventdev-fix-vector-adapter-power-of-2-size-check.patch	2026-12-03 12:52:39.017182371 +0000
@@ -1 +1 @@
-From 2e4cc0662dccdcca89427fc263ab5ebf95ef5c51 Mon Sep 17 00:00:00 2001
+From 50736e9306ef9bd86db6a46dfa7f439e3c35082e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 2e4cc0662dccdcca89427fc263ab5ebf95ef5c51 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list