Re: [PATCH] net/af_xdp: fix custom program loading with multiple queues

2022-03-14 Thread Thomas Monjalon
11/03/2022 12:12, Loftus, Ciara: > > > > 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 >

RE: [PATCH] net/af_xdp: fix custom program loading with multiple queues

2022-03-11 Thread Loftus, Ciara
> > 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 f

Re: [PATCH] net/af_xdp: fix custom program loading with multiple queues

2022-03-11 Thread Thomas Monjalon
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

Re: [PATCH] net/af_xdp: fix custom program loading with multiple queues

2022-03-10 Thread Kevin Traynor
Hi Ciara/Junxiao,, On 10/03/2022 08:49, Loftus, Ciara wrote: 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

RE: [PATCH] net/af_xdp: fix custom program loading with multiple queues

2022-03-10 Thread 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 s