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

2022-02-18 Thread Ferruh Yigit
On 2/17/2022 2:45 PM, 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_object__load. Signed-off-by: Ciara Loftus Applied to dpdk-next-ne

[PATCH v2] 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_object__load. Signed-off-by: Ciara Loftus --- v1 -> v2: * Fix typo in commit message * Fix typo in meson.build