-
- Downloads
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>
Showing
- tools/lib/bpf/Build 1 addition, 1 deletiontools/lib/bpf/Build
- tools/lib/bpf/Makefile 1 addition, 1 deletiontools/lib/bpf/Makefile
- tools/lib/bpf/libbpf.map 0 additions, 12 deletionstools/lib/bpf/libbpf.map
- tools/testing/selftests/bpf/Makefile 2 additions, 0 deletionstools/testing/selftests/bpf/Makefile
- tools/testing/selftests/bpf/xdpxceiver.c 1 addition, 1 deletiontools/testing/selftests/bpf/xdpxceiver.c
- tools/testing/selftests/bpf/xsk.c 40 additions, 36 deletionstools/testing/selftests/bpf/xsk.c
- tools/testing/selftests/bpf/xsk.h 4 additions, 25 deletionstools/testing/selftests/bpf/xsk.h
Loading
Please register or sign in to comment