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

2023-04-04 Thread Kevin Traynor
On 21/12/2022 09:28, Kevin Traynor wrote: On 21/12/2022 06:09, Andrew Rybchenko wrote: Hi Kevin, On 12/20/22 17:05, Kevin Traynor wrote: On 24/06/2022 11:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >

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

2023-03-23 Thread Kevin Traynor
+cc John For better context, this part of the discussion starts here: http://inbox.dpdk.org/dev/d718d0fe-09a2-8840-e8a4-dd41b732b...@redhat.com/ On 16/03/2023 13:31, Kevin Traynor wrote: On 15/03/2023 11:47, Kevin Traynor wrote: On 21/12/2022 09:28, Kevin Traynor wrote: On 21/12/2022 06:09, A

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

2023-03-16 Thread Kevin Traynor
On 15/03/2023 11:47, Kevin Traynor wrote: On 21/12/2022 09:28, Kevin Traynor wrote: On 21/12/2022 06:09, Andrew Rybchenko wrote: Hi Kevin, On 12/20/22 17:05, Kevin Traynor wrote: On 24/06/2022 11:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd

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

2023-03-15 Thread Kevin Traynor
On 21/12/2022 09:28, Kevin Traynor wrote: On 21/12/2022 06:09, Andrew Rybchenko wrote: Hi Kevin, On 12/20/22 17:05, Kevin Traynor wrote: On 24/06/2022 11:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >

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

2022-12-21 Thread Kevin Traynor
On 21/12/2022 06:09, Andrew Rybchenko wrote: Hi Kevin, On 12/20/22 17:05, Kevin Traynor wrote: On 24/06/2022 11:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recom

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

2022-12-20 Thread Andrew Rybchenko
Hi Kevin, On 12/20/22 17:05, Kevin Traynor wrote: On 24/06/2022 11:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recommended replacement functions bpf_xdp_query_i

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

2022-12-20 Thread Kevin Traynor
On 24/06/2022 11:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recommended replacement functions bpf_xdp_query_id, bpf_xdp_attach and bpf_xdp_detach which are availab

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

2022-07-21 Thread Loftus, Ciara
> > > > > On 6/24/22 13:23, Ciara Loftus wrote: > > > libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and > > >> bpf_set_link_xdp_fd > > > functions. Use meson to detect if libbpf >= v0.7.0 is linked and if > > > so, > > use > > > the recommended replacement functions b

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

2022-06-28 Thread Loftus, Ciara
> > On 6/24/22 13:23, Ciara Loftus wrote: > > libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and > >> bpf_set_link_xdp_fd > > functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, > use > > the recommended replacement functions bpf_xdp_query_id, > bpf_

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

2022-06-28 Thread Andrew Rybchenko
On 6/27/22 18:24, Loftus, Ciara wrote: On 6/27/22 17:17, Loftus, Ciara wrote: On 6/24/22 13:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recommended replacemen

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

2022-06-27 Thread Loftus, Ciara
> > On 6/27/22 17:17, Loftus, Ciara wrote: > >> > >> On 6/24/22 13:23, Ciara Loftus wrote: > >>> libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and > bpf_set_link_xdp_fd > >>> functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, > >>> use > >>> the recommended replacement fun

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

2022-06-27 Thread Andrew Rybchenko
On 6/27/22 17:17, Loftus, Ciara wrote: On 6/24/22 13:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recommended replacement functions bpf_xdp_query_id, bpf_xdp_atta

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

2022-06-27 Thread Loftus, Ciara
> > On 6/24/22 13:23, Ciara Loftus wrote: > > libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd > > functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use > > the recommended replacement functions bpf_xdp_query_id, > bpf_xdp_attach > > and bpf_xdp_detach

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

2022-06-24 Thread Andrew Rybchenko
On 6/24/22 13:23, Ciara Loftus wrote: libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use the recommended replacement functions bpf_xdp_query_id, bpf_xdp_attach and bpf_xdp_detach which are available