patch 'app/dma-perf: fix buffer overflow with high core count' has been queued to stable release 23.11.7
Shani Peretz
shperetz at nvidia.com
Wed Apr 15 11:59:56 CEST 2026
Hi,
FYI, your patch has been queued to stable release 23.11.7
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/19/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/shanipr/dpdk-stable
This queued commit can be viewed at:
https://github.com/shanipr/dpdk-stable/commit/11596c3ed36bb5d4f0476b4e481335086025b3a1
Thanks.
Shani
---
>From 11596c3ed36bb5d4f0476b4e481335086025b3a1 Mon Sep 17 00:00:00 2001
From: Vipin Varghese <vipin.varghese at amd.com>
Date: Wed, 25 Feb 2026 17:11:20 +0530
Subject: [PATCH] app/dma-perf: fix buffer overflow with high core count
[ upstream commit be237f643831d9f79a3c104d19b4bd617bc7e99d ]
test-dma-perf limits the number of worker thread to 128.
The current change accommodates to RTE_MAX_LCORES. This allows
high core density platforms to run the test on `(RTE_MAX_LCORE - 1)`
Without the change we encounter `buffer overflow detected, terminated`.
Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test")
Signed-off-by: Vipin Varghese <vipin.varghese at amd.com>
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
---
app/test-dma-perf/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-dma-perf/main.h b/app/test-dma-perf/main.h
index 62085e6e8f..ee91a7250e 100644
--- a/app/test-dma-perf/main.h
+++ b/app/test-dma-perf/main.h
@@ -10,7 +10,7 @@
#include <rte_cycles.h>
#include <rte_dev.h>
-#define MAX_WORKER_NB 128
+#define MAX_WORKER_NB RTE_MAX_LCORE
#define MAX_OUTPUT_STR_LEN 512
#define MAX_DMA_NB 128
--
2.43.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-04-14 14:44:34.054451065 +0300
+++ 0055-app-dma-perf-fix-buffer-overflow-with-high-core-coun.patch 2026-04-14 14:44:28.660599000 +0300
@@ -1 +1 @@
-From be237f643831d9f79a3c104d19b4bd617bc7e99d Mon Sep 17 00:00:00 2001
+From 11596c3ed36bb5d4f0476b4e481335086025b3a1 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit be237f643831d9f79a3c104d19b4bd617bc7e99d ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 25f32b72f7..a383ac0bb3 100644
+index 62085e6e8f..ee91a7250e 100644
@@ -30,0 +32 @@
+ #define MAX_OUTPUT_STR_LEN 512
@@ -32,2 +34 @@
- enum {
- TEST_TYPE_NONE = 0,
+ #define MAX_DMA_NB 128
More information about the stable
mailing list