DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Wan Bingbing <wantmac.bingbing91@gmail.com>
Cc: <dev@dpdk.org>, "chenxiemin@gmail.com" <chenxiemin@gmail.com>
Subject: Re: Question: PMD behaviour without hugepages in DPDK 23.07 (XDP PMD in Kubernetes)
Date: Tue, 25 Nov 2025 15:05:33 +0000	[thread overview]
Message-ID: <aSXFvWwhzqAJoJkA@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <CAN-dPwmgoCzwcp46xyz3EPEP7BUL58aO3em2Tot2zqieg5wYQw@mail.gmail.com>

On Fri, Nov 21, 2025 at 10:15:39PM +0800, Wan Bingbing wrote:
>    Dear DPDK team,
>    We are currently deploying an application utilizing Seastar and DPDK
>    (version 23.07) with the XDP PMD inside a Kubernetes environment. Due
>    to infrastructure restrictions, we cannot allocate hugepages on the
>    Kubernetes nodes.
>    In this environment, DPDK fails to initialize the XDP PMD because
>    hugepage-backed memory cannot be created. Although the EAL is not
>    started with the --no-huge parameter, no hugepages are available to
>    DPDK, preventing the PMD from sending or receiving packets.
>    We are aware of the known issue documented in the DPDK release notes
>    ("PMD does not work with --no-huge EAL command line parameter"), which
>    explains that PMDs rely on hugepage-backed memory because DPDK does not
>    store the necessary physical/IOVA information for memory allocated via
>    malloc/mmap.
>    Given this dependency, we have the following questions:
>    1. Is there a currently supported method to run a hardware PMD
>    (specifically the XDP PMD) without hugepages, or is hugepage-backed
>    memory strictly required for all hardware PMDs?
>    2. Are there any ongoing efforts or future plans to support PMD
>    operation in a non-hugepage mode?
>    3. If this limitation is architectural and not planned to be addressed,
>    could you please confirm this? This confirmation would allow us to
>    evaluate alternative approaches, such as using AF_XDP without DPDK or
>    relying on the Seastar native stack.
>    Any guidance or recommendations from the maintainers on how to proceed
>    would be greatly appreciated.
>    Thank you for your time.
>    Best regards,
>    Wan Bingbing

For non-HW PMDs like the AF_XDP driver*, AFAIK it should be feasible to
have it work in no-huge mode. However, as far as I am aware, there is
nobody currently looking into this.

Regards,
/Bruce

* yes, it does use HW, but really the kernel driver does most of the work,
  so in practice its more like a SW or virtual driver.

      reply	other threads:[~2025-11-25 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-21 14:15 Wan Bingbing
2025-11-25 15:05 ` Bruce Richardson [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=aSXFvWwhzqAJoJkA@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=chenxiemin@gmail.com \
    --cc=dev@dpdk.org \
    --cc=wantmac.bingbing91@gmail.com \
    /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).