DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Tahhan, Maryam" <maryam.tahhan@intel.com>
To: "Loftus, Ciara" <ciara.loftus@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/af_xdp: custom XDP program loading
Date: Thu, 10 Sep 2020 11:40:04 +0000	[thread overview]
Message-ID: <MN2PR11MB374312B68ABE8A4B2A9B9298F0270@MN2PR11MB3743.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200828111812.31986-1-ciara.loftus@intel.com>



> -----Original Message-----
> From: Loftus, Ciara <ciara.loftus@intel.com>
> Sent: Friday 28 August 2020 12:18
> To: dev@dpdk.org
> Cc: Loftus, Ciara <ciara.loftus@intel.com>
> Subject: [PATCH] net/af_xdp: custom XDP program loading
> 
> 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.
> Note: a netdev may only load one program.
> 
> Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
> ---

[MT] Stupid question :), AF_XDP is specifically related to loading an XDP program that allows you to redirect packets to an XSK... 
why would you want to allow a custom XDP program to be loaded? 

Other than that the code itself looked GTM

<snip>

  reply	other threads:[~2020-09-10 11:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 11:18 Ciara Loftus
2020-09-10 11:40 ` Tahhan, Maryam [this message]
2020-09-14 13:07   ` Loftus, Ciara
2020-09-18  2:54 ` Hu, Xuekun

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=MN2PR11MB374312B68ABE8A4B2A9B9298F0270@MN2PR11MB3743.namprd11.prod.outlook.com \
    --to=maryam.tahhan@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).