selftests/bpf: Add asm tests for pkt vs pkt_end comparison.
authorAlexei Starovoitov <ast@kernel.org>
Wed, 11 Nov 2020 03:12:13 +0000 (19:12 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Nov 2020 00:42:11 +0000 (01:42 +0100)
commitcb62d34019d9117bb94de6ed35959449d43d6055
tree9c3d86a8186c1284faf76bdbc98f60d720cd2b28
parent9cc873e85800ccde80aa2e4b2bae9f1b5fa4c478
selftests/bpf: Add asm tests for pkt vs pkt_end comparison.

Add few assembly tests for packet comparison.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20201111031213.25109-4-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/verifier/ctx_skb.c