DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: users@dpdk.org
Subject: Re: Intel E810 and X710 NIC DMA control
Date: Thu, 1 May 2025 13:29:04 -0700	[thread overview]
Message-ID: <20250501132904.0293f560@hermes.local> (raw)
In-Reply-To: <CH3PR01MB84702F1492936028E6DCF2748F822@CH3PR01MB8470.prod.exchangelabs.com>

On Thu, 1 May 2025 19:36:54 +0000
"Lombardo, Ed" <Ed.Lombardo@netscout.com> wrote:

> Hi,
> I want control the Intel NICs (E810 and X710) DMA to either the hugepage memory on socket 0 or socket 1.  Is there a way to do this in DPDK 24.11?
> 
> I have created two mempools, one on socket 0 and one on socket 1.  Now when packets arrive at the NIC receive ports (1 and 2)  I only see mbufs in mempool on the CPU socket where the NIC is located being used to .
> 
> Thanks,
> Ed

The NIC will use the mempool you pass during configuration in 
rte_eth_rx_queue_setup()

You can also get more detailed with rx segment splitting.

  reply	other threads:[~2025-05-01 20:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-01 19:36 Lombardo, Ed
2025-05-01 20:29 ` Stephen Hemminger [this message]
2025-05-06 21:45   ` Lombardo, Ed

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=20250501132904.0293f560@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=users@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).