> > 10/03/2022 09:49, Loftus, Ciara: > > > When the PMD is configured to load a custom XDP program, it sets > > > XSK_LIBBPF_FLAGS__INHIBIT_PROG_LOAD flag to prevent libbpf from > > > loading its default XDP program. However, when queue_count is set to > > > greater than 1, this flag is only set for the first XSK socket but not > > > for subsequent XSK sockets. This causes XSK socket creation failure. > > > > > > This commit ensures that XSK_LIBBPF_FLAGS__INHIBIT_PROG_LOAD flag > is > > > set for all XSK socket creations when custom XDP program is being used. > > > > > > Fixes: 01fa83c94d7e ("net/af_xdp: workaround custom program loading") > > > > > > Signed-off-by: Junxiao Shi <g...@mail1.yoursunny.com> > > > > Thanks for the patch! > > It's probably too late to make it into 22.03 but cc-ing stable as it should > > be > backported to 21.11.x. > > > > Acked-by: Ciara Loftus <ciara.lof...@intel.com> > > I can take it in -rc4. How much are you confident there is no regression? >
Thanks. I am confident there is no regression.