public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH v3 2/2] app: extend NUMA nodes limit
@ 2026-02-25  8:05 Liangxing Wang
  2026-02-25  8:58 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Liangxing Wang @ 2026-02-25  8:05 UTC (permalink / raw)
  To: thomas, stephen, fengchengwen; +Cc: dev, Liangxing Wang, stable

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

Remove unused NB_SOCKETS macro for graph app.

Cc: stable@dpdk.org

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

diff --git a/app/graph/ethdev_rx_priv.h b/app/graph/ethdev_rx_priv.h
index a76ebacc0c..8388cfbd8f 100644
--- a/app/graph/ethdev_rx_priv.h
+++ b/app/graph/ethdev_rx_priv.h
@@ -12,7 +12,6 @@
 
 #define MAX_RX_QUEUE_PER_PORT 128
 #define MAX_JUMBO_PKT_LEN  9600
-#define NB_SOCKETS 8
 
 struct __rte_cache_aligned lcore_params {
 	uint16_t port_id;
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 related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-25  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25  8:05 [PATCH v3 2/2] app: extend NUMA nodes limit Liangxing Wang
2026-02-25  8:58 ` Bruce Richardson

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