[dpdk-dev] [PATCH] net/af_xdp: custom XDP program loading
Hu, Xuekun
xuekun.hu at intel.com
Fri Sep 18 04:54:59 CEST 2020
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Ciara Loftus
> Sent: Friday, August 28, 2020 7:18 PM
> To: dev at dpdk.org
> Cc: Loftus, Ciara <ciara.loftus at intel.com>
> Subject: [dpdk-dev] [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 at intel.com>
> ---
Tested-by: Xuekun Hu <xuekun.hu at intel.com)>
More information about the dev
mailing list