patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH v2 3/3] app/test: extend NUMA nodes limit beyond 2
@ 2026-01-08  7:31 Liangxing Wang
  0 siblings, 0 replies; only message in thread
From: Liangxing Wang @ 2026-01-08  7:31 UTC (permalink / raw)
  To: dev; +Cc: Liangxing Wang, stable

Use RTE_MAX_NUMA_NODES instead of hardcoded 2 to extend NUMA nodes
limit for pmd_perf_autotest.

Cc: stable@dpdk.org

Signed-off-by: Liangxing Wang <wangliangxing@hygon.cn>
---
 app/test/test_pmd_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 995b0a6f20..a547a33a1c 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -15,7 +15,7 @@
 #include "test.h"
 
 #define NB_ETHPORTS_USED                (1)
-#define NB_SOCKETS                      (2)
+#define NB_SOCKETS                      RTE_MAX_NUMA_NODES
 #define MEMPOOL_CACHE_SIZE 250
 #define MAX_PKT_BURST                   (32)
 #define RX_DESC_DEFAULT        (1024)
-- 
2.43.0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-08  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-08  7:31 [PATCH v2 3/3] app/test: extend NUMA nodes limit beyond 2 Liangxing Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).