DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v2 2/3] examples/ipsec-secgw: extend NUMA nodes limit beyond 4
@ 2026-01-08  7:30 Liangxing Wang
  0 siblings, 0 replies; only message in thread
From: Liangxing Wang @ 2026-01-08  7:30 UTC (permalink / raw)
  To: radu.nicolau, gakhil; +Cc: dev, Liangxing Wang, stable

Use RTE_MAX_NUMA_NODES instead of hardcoded 4 to extend NUMA nodes
limit.

Cc: stable@dpdk.org

Signed-off-by: Liangxing Wang <wangliangxing@hygon.cn>
---
 examples/ipsec-secgw/ipsec-secgw.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ipsec-secgw/ipsec-secgw.h b/examples/ipsec-secgw/ipsec-secgw.h
index b4ef4b6d04..88d74654b2 100644
--- a/examples/ipsec-secgw/ipsec-secgw.h
+++ b/examples/ipsec-secgw/ipsec-secgw.h
@@ -9,7 +9,7 @@
 
 #define MAX_RX_QUEUE_PER_LCORE 16
 
-#define NB_SOCKETS 4
+#define NB_SOCKETS RTE_MAX_NUMA_NODES
 
 #define MAX_PKT_BURST 32
 #define MAX_PKT_BURST_VEC 256
-- 
2.43.0



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

only message in thread, other threads:[~2026-01-08  7:31 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:30 [PATCH v2 2/3] examples/ipsec-secgw: extend NUMA nodes limit beyond 4 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).