> -----Original Message----- > From: Loftus, Ciara <ciara.lof...@intel.com> > Sent: Friday 28 August 2020 12:18 > To: dev@dpdk.org > Cc: Loftus, Ciara <ciara.lof...@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.lof...@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>