Re: [PATCH bpf-next] libbpf: deprecate AF_XDP support
From: Toke Høiland-Jørgensen <hidden>
Date: 2021-10-28 13:45:31
Also in:
bpf
From: Toke Høiland-Jørgensen <hidden>
Date: 2021-10-28 13:45:31
Also in:
bpf
Magnus Karlsson [off-list ref] writes:
From: Magnus Karlsson <magnus.karlsson@intel.com> Deprecate AF_XDP support in libbpf ([0]). This has been moved to libxdp as it is a better fit for that library. The AF_XDP support only uses the public libbpf functions and can therefore just use libbpf as a library from libxdp. The libxdp APIs are exactly the same so it should just be linking with libxdp instead of libbpf for the AF_XDP functionality. If not, please submit a bug report. Linking with both libraries is supported but make sure you link in the correct order so that the new functions in libxdp are used instead of the deprecated ones in libbpf. Libxdp can be found at https://github.com/xdp-project/xdp-tools. [0] https://github.com/libbpf/libbpf/issues/270 Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Seems you typoed 'libxdp' as 'libdxp' in the deprecation messages :) Other than that, though: Acked-by: Toke Høiland-Jørgensen <redacted>