patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Liangxing Wang <wangliangxing@hygon.cn>
To: <radu.nicolau@intel.com>, <gakhil@marvell.com>
Cc: <dev@dpdk.org>, Liangxing Wang <wangliangxing@hygon.cn>,
	<stable@dpdk.org>
Subject: [PATCH v2 2/3] examples/ipsec-secgw: extend NUMA nodes limit beyond 4
Date: Thu, 8 Jan 2026 07:30:30 +0000	[thread overview]
Message-ID: <20260108073030.1279795-1-wangliangxing@hygon.cn> (raw)

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



                 reply	other threads:[~2026-01-08  7:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260108073030.1279795-1-wangliangxing@hygon.cn \
    --to=wangliangxing@hygon.cn \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    --cc=radu.nicolau@intel.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;
as well as URLs for NNTP newsgroup(s).