selftests/bpf: Remove bpf_assert_eq-like macros.
authorAlexei Starovoitov <ast@kernel.org>
Tue, 26 Dec 2023 19:11:46 +0000 (11:11 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 3 Jan 2024 19:08:23 +0000 (11:08 -0800)
commit907dbd3ede5ffd4f9519dd1fae2a8a983603bf3b
tree806a284aa90422430f92c32be1e180822b62be9d
parent624cd2a17672f4596fee97a5558bc990778bbcf9
selftests/bpf: Remove bpf_assert_eq-like macros.

Since the last user was converted to bpf_cmp, remove bpf_assert_eq/ne/... macros.

__bpf_assert_op() macro is kept for experiments, since it's slightly more efficient
than bpf_assert(bpf_cmp_unlikely()) until LLVM is fixed.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/bpf/20231226191148.48536-5-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/bpf_experimental.h