patch 'app/dma-perf: fix buffer overflow with high core count' has been queued to stable release 24.11.5
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Mar 19 23:02:54 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.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 03/21/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/9535faf9be314c8918c2a9c61dad93a87733cd18
Thanks.
Luca Boccassi
---
>From 9535faf9be314c8918c2a9c61dad93a87733cd18 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 59eb648b3d..076b19e102 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.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 22:00:49.995560284 +0000
+++ 0062-app-dma-perf-fix-buffer-overflow-with-high-core-coun.patch 2026-03-19 22:00:47.822359366 +0000
@@ -1 +1 @@
-From be237f643831d9f79a3c104d19b4bd617bc7e99d Mon Sep 17 00:00:00 2001
+From 9535faf9be314c8918c2a9c61dad93a87733cd18 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 59eb648b3d..076b19e102 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