diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-02-02 23:59:15 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-02-03 16:32:25 +0100 |
commit | e4e284a8c0d9823c07ee674445de05928be67231 (patch) | |
tree | adfcdb8b548bb9120dab439ad8a3e0c3aa4c8d30 /.cocciconfig | |
parent | selftests/bpf: Remove usage of deprecated feature probing APIs (diff) | |
download | linux-e4e284a8c0d9823c07ee674445de05928be67231.tar.xz linux-e4e284a8c0d9823c07ee674445de05928be67231.zip |
selftests/bpf: Redo the switch to new libbpf XDP APIs
Switch to using new bpf_xdp_*() APIs across all selftests. Take
advantage of a more straightforward and user-friendly semantics of
old_prog_fd (0 means "don't care") in few places.
This is a redo of 544356524dd6 ("selftests/bpf: switch to new libbpf XDP
APIs"), which was previously reverted to minimize conflicts during bpf
and bpf-next tree merge.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220202225916.3313522-6-andrii@kernel.org
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions