Re: [PATCH v4 6/6] net/af_xdp: make compatible with libbpf v0.8.0

2022-10-07 Thread Ferruh Yigit
On 10/7/2022 6:19 PM, Ferruh Yigit wrote: On 10/6/2022 7:26 AM, Andrew Rybchenko wrote: From: Ciara Loftus libbpf v0.8.0 deprecates the bpf_get_link_xdp_id() and bpf_set_link_xdp_fd() functions. Use meson to detect if bpf_xdp_attach() is available and if so, use the recommended replacement fun

Re: [PATCH v4 6/6] net/af_xdp: make compatible with libbpf v0.8.0

2022-10-07 Thread Ferruh Yigit
On 10/6/2022 7:26 AM, Andrew Rybchenko wrote: From: Ciara Loftus libbpf v0.8.0 deprecates the bpf_get_link_xdp_id() and bpf_set_link_xdp_fd() functions. Use meson to detect if bpf_xdp_attach() is available and if so, use the recommended replacement functions bpf_xdp_query_id(), bpf_xdp_attach()

[PATCH v4 6/6] net/af_xdp: make compatible with libbpf v0.8.0

2022-10-05 Thread Andrew Rybchenko
From: Ciara Loftus libbpf v0.8.0 deprecates the bpf_get_link_xdp_id() and bpf_set_link_xdp_fd() functions. Use meson to detect if bpf_xdp_attach() is available and if so, use the recommended replacement functions bpf_xdp_query_id(), bpf_xdp_attach() and bpf_xdp_detach(). Signed-off-by: Ciara Lof