]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: move xsk.{c,h} into selftests/bpf
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 27 Jun 2022 21:15:13 +0000 (14:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 28 Jun 2022 20:13:32 +0000 (13:13 -0700)
commitf20ccdf362300a5782533be2881df05dbee1c10b
tree1a14e736147f2b5e1aa15da67fbf55daf6036d68
parentb10b0c316e29097d258e512305f861247481c01e
libbpf: move xsk.{c,h} into selftests/bpf

Remove deprecated xsk APIs from libbpf. But given we have selftests
relying on this, move those files (with minimal adjustments to make them
compilable) under selftests/bpf.

We also remove all the removed APIs from libbpf.map, while overall
keeping version inheritance chain, as most APIs are backwards
compatible so there is no need to reassign them as LIBBPF_1.0.0 versions.

Cc: Magnus Karlsson <magnus.karlsson@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220627211527.2245459-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/Build
tools/lib/bpf/Makefile
tools/lib/bpf/libbpf.map
tools/lib/bpf/xsk.c [deleted file]
tools/lib/bpf/xsk.h [deleted file]
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/xdpxceiver.c
tools/testing/selftests/bpf/xsk.c [new file with mode: 0644]
tools/testing/selftests/bpf/xsk.h [new file with mode: 0644]