From: Vipin Varghese <vipin.varghese@amd.com>
To: <dev@dpdk.org>, <honest.jiang@foxmail.com>, <fengchengwen@huawei.com>
Cc: <stable@dpdk.org>, <cheng1.jiang@intel.com>
Subject: [PATCH] app/dma-perf: fixes buffer overflow error
Date: Wed, 25 Feb 2026 17:11:20 +0530 [thread overview]
Message-ID: <20260225114120.2036-1-vipin.varghese@amd.com> (raw)
test-dma-perf limits the number of worker thread to 128.
The current change accomadates 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")
Cc: cheng1.jiang@intel.com
Cc: stable@dpdk.org
Signed-off-by: Vipin Varghese <vipin.varghese@amd.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 25f32b72f7..a383ac0bb3 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
enum {
TEST_TYPE_NONE = 0,
--
2.43.0
next reply other threads:[~2026-02-25 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 11:41 Vipin Varghese [this message]
2026-02-26 2:08 ` [PATCH] app/dma-perf: fixes buffer overflow error fengchengwen
2026-03-17 14:52 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260225114120.2036-1-vipin.varghese@amd.com \
--to=vipin.varghese@amd.com \
--cc=cheng1.jiang@intel.com \
--cc=dev@dpdk.org \
--cc=fengchengwen@huawei.com \
--cc=honest.jiang@foxmail.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox