DPDK patches and discussions
 help / color / mirror / Atom feed
From: Liangxing Wang <wangliangxing@hygon.cn>
To: fengchengwen <fengchengwen@huawei.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH] examples/l3fwd: extend NUMA nodes limit beyond 8
Date: Mon, 29 Dec 2025 02:55:58 +0000	[thread overview]
Message-ID: <3d56e737305b43b29bea1d2a8b27a4c7@hygon.cn> (raw)
In-Reply-To: <06d7fffb-558c-4088-8410-8943d12724fe@huawei.com>

Thanks for the reminder. Noticed that too. Maybe I can use another commit to cover all other examples that need modification.

Regards,
Liangxing

> -----Original Message-----
> From: fengchengwen <fengchengwen@huawei.com>
> Sent: 2025年12月27日 16:53
> To: Liangxing Wang <wangliangxing@hygon.cn>; dev@dpdk.org
> Cc: stable@dpdk.org
> Subject: Re: [PATCH] examples/l3fwd: extend NUMA nodes limit beyond 8
> 
> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
> 
> BTW: Other examples also defined the NB_SOCKTS (e.g.
> l3fwd-power/l3fwd-graph/ipsec-secgw),
>      how about add more commits to fix.
> 
> On 12/26/2025 4:17 PM, Liangxing Wang wrote:
> > For platforms with more than 8 NUMA nodes, the l3fwd example fails
> > when using cores on NUMA node 8 or above.
> >
> > Use RTE_MAX_NUMA_NODES instead of 8 to extend NUMA nodes limit.
> >
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Liangxing Wang <wangliangxing@hygon.cn>
> > ---
> >  examples/l3fwd/l3fwd.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/examples/l3fwd/l3fwd.h b/examples/l3fwd/l3fwd.h index
> > 471e3b488f..ca9d0d2dd0 100644
> > --- a/examples/l3fwd/l3fwd.h
> > +++ b/examples/l3fwd/l3fwd.h
> > @@ -33,7 +33,7 @@
> >  #define VECTOR_SIZE_DEFAULT   MAX_PKT_BURST
> >  #define VECTOR_TMO_NS_DEFAULT 1E6 /* 1ms */
> >
> > -#define NB_SOCKETS        8
> > +#define NB_SOCKETS        RTE_MAX_NUMA_NODES
> >
> >  /* Configure how many packets ahead to prefetch, when reading packets
> */
> >  #define PREFETCH_OFFSET	  3
> 


      reply	other threads:[~2025-12-29  2:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-26  8:17 Liangxing Wang
2025-12-26 17:09 ` Stephen Hemminger
2025-12-27  8:53 ` fengchengwen
2025-12-29  2:55   ` Liangxing Wang [this message]

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=3d56e737305b43b29bea1d2a8b27a4c7@hygon.cn \
    --to=wangliangxing@hygon.cn \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.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).