summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2021-10-29 11:01:11 +0200
committerAndrii Nakryiko <andrii@kernel.org>2021-11-01 18:12:44 -0700
commit0b170456e0dda92b8925d40e217461fcc4e1efc9 (patch)
tree8c94851fd540d083728eb6758d9e6e951ef5f737 /samples
parent9741e07ece7c247dd65e1aa01e16b683f01c05a8 (diff)
libbpf: Deprecate AF_XDP support
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] Closes: https://github.com/libbpf/libbpf/issues/270 Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/bpf/20211029090111.4733-1-magnus.karlsson@gmail.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions