Re: [PATCH bpf-next] libbpf: deprecate AF_XDP support
From: Magnus Karlsson <hidden>
Date: 2021-10-28 13:56:20
Also in:
netdev
On Thu, Oct 28, 2021 at 3:45 PM Toke Høiland-Jørgensen [off-list ref] wrote:
Magnus Karlsson [off-list ref] writes:quoted
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 :)
Ouch! I will spin a v2 for that, but I will wait for others to comment first in case there are more things to fix. Thanks for spotting it!
Other than that, though: Acked-by: Toke Høiland-Jørgensen <redacted>