DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Shivaji Kant <shivajikant@google.com>
Cc: dev@dpdk.org, Ciara Loftus <ciara.loftus@intel.com>,
	Maryam Tahhan <mtahhan@redhat.com>
Subject: Re: [PATCH v5] net/af_xdp: enable AF_XDP program attachment mode
Date: Fri, 1 Aug 2025 15:37:48 -0700	[thread overview]
Message-ID: <20250801153748.6743d48b@hermes.local> (raw)
In-Reply-To: <20250730114122.1200641-1-shivajikant@google.com>

On Wed, 30 Jul 2025 11:41:21 +0000
Shivaji Kant <shivajikant@google.com> wrote:

> Currently, the AF_XDP PMD attaches its XDP program using a fixed
> set of flags, defaulting to `XDP_FLAGS_UPDATE_IF_NOEXIST`. This lacks
> flexibility for users who might need to explicitly control the XDP
> mode based on their specific hardware capabilities or performance
> requirements.
> 
> This patch introduces a new vdev argument, `mode`, for the `net_af_xdp`
> PMD. This argument allows users to explicitly specify the desired
> XDP program attachment mode:
> `drv` (XDP_FLAGS_DRV_MODE),
> `skb` (XDP_FLAGS_SKB_MODE),
> `hw` (XDP_FLAGS_HW_MODE).
> (If needed more can be added)
> 
> This change provides greater control and flexibility for users to
> fine-tune AF_XDP behavior, enabling them to leverage native driver
> or hardware offload capabilities when available, or fall back to
> generic SKB mode for broader compatibility.
> 
> Signed-off-by: Shivaji Kant <shivajikant@google.com>


Queued to next-net for 25.11. Thanks

      reply	other threads:[~2025-08-01 22:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23  7:42 [PATCH] " Shivaji Kant
2025-07-23 12:30 ` Ivan Malov
2025-07-29  8:24 ` [PATCH v2] " Shivaji Kant
2025-07-29 10:08   ` [PATCH v3] " Shivaji Kant
2025-07-29 14:48     ` Stephen Hemminger
2025-07-29 14:50     ` Stephen Hemminger
2025-07-29 16:17     ` [PATCH v4] " Shivaji Kant
2025-07-29 22:10       ` Stephen Hemminger
2025-07-30 11:41       ` [PATCH v5] " Shivaji Kant
2025-08-01 22:37         ` Stephen Hemminger [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=20250801153748.6743d48b@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=ciara.loftus@intel.com \
    --cc=dev@dpdk.org \
    --cc=mtahhan@redhat.com \
    --cc=shivajikant@google.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).