diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2023-03-25 03:55:23 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-26 01:02:06 +0100 |
commit | ffb515c933a9e8000e50b03f76569ffb6ef4d39d (patch) | |
tree | 4f46a712b5334598eddf869b913f7b887c07178c /tools/testing/selftests/bpf/verifier | |
parent | selftests/bpf: verifier/xadd.c converted to inline assembly (diff) | |
download | linux-ffb515c933a9e8000e50b03f76569ffb6ef4d39d.tar.xz linux-ffb515c933a9e8000e50b03f76569ffb6ef4d39d.zip |
selftests/bpf: verifier/xdp.c converted to inline assembly
Test verifier/xdp.c automatically converted to use inline assembly.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230325025524.144043-43-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier')
-rw-r--r-- | tools/testing/selftests/bpf/verifier/xdp.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/testing/selftests/bpf/verifier/xdp.c b/tools/testing/selftests/bpf/verifier/xdp.c deleted file mode 100644 index 5ac390508139..000000000000 --- a/tools/testing/selftests/bpf/verifier/xdp.c +++ /dev/null @@ -1,14 +0,0 @@ -{ - "XDP, using ifindex from netdev", - .insns = { - BPF_MOV64_IMM(BPF_REG_0, 0), - BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, - offsetof(struct xdp_md, ingress_ifindex)), - BPF_JMP_IMM(BPF_JLT, BPF_REG_2, 1, 1), - BPF_MOV64_IMM(BPF_REG_0, 1), - BPF_EXIT_INSN(), - }, - .result = ACCEPT, - .prog_type = BPF_PROG_TYPE_XDP, - .retval = 1, -}, |