RE: [PATCH] net/af_xdp: make the PMD compatible with libbpf >= v0.7.0

2022-02-17 Thread Loftus, Ciara
> Subject: Re: [PATCH] net/af_xdp: make the PMD compatible with libbpf >= > v0.7.0 > > On Thu, Feb 17, 2022 at 12:14:30PM +, Ciara Loftus wrote: > > libbpf v0.7.0 deprecates the bpf_prog_load function. Use meson to detect > > if libbpf >= v0.7.0 is linked

Re: [PATCH] net/af_xdp: make the PMD compatible with libbpf >= v0.7.0

2022-02-17 Thread Bruce Richardson
On Thu, Feb 17, 2022 at 12:14:30PM +, Ciara Loftus wrote: > libbpf v0.7.0 deprecates the bpf_prog_load function. Use meson to detect > if libbpf >= v0.7.0 is linked and if so, use the recommended replacement > functions bpf_object__open_file and bpf_oject__load. > > Signed-off-by: Ciara Loftus

[PATCH] net/af_xdp: make the PMD compatible with libbpf >= v0.7.0

2022-02-17 Thread Ciara Loftus
libbpf v0.7.0 deprecates the bpf_prog_load function. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recommended replacement functions bpf_object__open_file and bpf_oject__load. Signed-off-by: Ciara Loftus --- drivers/net/af_xdp/compat.h | 39