DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Ciara Loftus <ciara.loftus@intel.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v3] net/af_xdp: custom XDP program loading
Date: Wed, 30 Sep 2020 16:20:14 +0100	[thread overview]
Message-ID: <6b9b6fe0-582e-cc86-c7c0-8f10bac9fbcb@intel.com> (raw)
In-Reply-To: <20200925092021.3134-1-ciara.loftus@intel.com>

On 9/25/2020 10:20 AM, Ciara Loftus wrote:
> The new 'xdp_prog=<string>' vdev arg allows the user to specify the path to
> a custom XDP program to be set on the device, instead of the default libbpf
> one. The program must have an XSK_MAP of name 'xsks_map' which will allow
> for the redirection of some packets to userspace and thus the PMD, using
> some criteria defined in the program. This can be useful for filtering
> purposes, for example if we only want a subset of packets to reach
> userspace or to drop or process a subset of packets in the kernel.
> 
> Note: a netdev may only load one program.
> 
> Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
> Tested-by: Xuekun Hu <xuekun.hu@intel.com>

Applied to dpdk-next-net/main, thanks.


      reply	other threads:[~2020-09-30 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25  9:20 Ciara Loftus
2020-09-30 15:20 ` Ferruh Yigit [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=6b9b6fe0-582e-cc86-c7c0-8f10bac9fbcb@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=ciara.loftus@intel.com \
    --cc=dev@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).