selftests/bpf: Test gotol with large offsets
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 2 Jan 2024 19:30:37 +0000 (20:30 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 4 Jan 2024 22:37:25 +0000 (14:37 -0800)
commit63fac34669e4cc666f943173ed2aa76b8db999f0
tree7269325aad0d4d47fab766b3f8dcfc07cfa8f0a5
parent445aea5afda4759c13dc5c492b309cc1d5c1c486
selftests/bpf: Test gotol with large offsets

Test gotol with offsets that don't fit into a short (i.e., larger than
32k or smaller than -32k).

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20240102193531.3169422-4-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_gotol.c