public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH] app/dma-perf: fixes buffer overflow error
@ 2026-02-25 11:41 Vipin Varghese
  2026-02-26  2:08 ` fengchengwen
  0 siblings, 1 reply; 3+ messages in thread
From: Vipin Varghese @ 2026-02-25 11:41 UTC (permalink / raw)
  To: dev, honest.jiang, fengchengwen; +Cc: stable, cheng1.jiang

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] app/dma-perf: fixes buffer overflow error
  2026-02-25 11:41 [PATCH] app/dma-perf: fixes buffer overflow error Vipin Varghese
@ 2026-02-26  2:08 ` fengchengwen
  2026-03-17 14:52   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: fengchengwen @ 2026-02-26  2:08 UTC (permalink / raw)
  To: Vipin Varghese, dev, honest.jiang; +Cc: stable, cheng1.jiang

Acked-by: Chengwen Feng <fengchengwen@huawei.com>

On 2/25/2026 7:41 PM, Vipin Varghese wrote:
> 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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] app/dma-perf: fixes buffer overflow error
  2026-02-26  2:08 ` fengchengwen
@ 2026-03-17 14:52   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2026-03-17 14:52 UTC (permalink / raw)
  To: Vipin Varghese; +Cc: dev, honest.jiang, stable, cheng1.jiang, fengchengwen

26/02/2026 03:08, fengchengwen:
> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
> 
> On 2/25/2026 7:41 PM, Vipin Varghese wrote:
> > 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>

Applied, thanks.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-17 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25 11:41 [PATCH] app/dma-perf: fixes buffer overflow error Vipin Varghese
2026-02-26  2:08 ` fengchengwen
2026-03-17 14:52   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox