diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2023-04-21 20:42:19 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-21 12:19:07 -0700 |
commit | a6fc14dc5e8d43871eebe5455719de6d7578a3bc (patch) | |
tree | 80532bd53dd7b97e81ffc8605b5db9b0ed3060e7 /tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c | |
parent | a5828e3154d17d9fec53910a1aa161d028339ada (diff) |
selftests/bpf: verifier/loops1 converted to inline assembly
Test verifier/loops1 automatically converted to use inline assembly.
There are a few modifications for the converted tests.
"tracepoint" programs do not support test execution, change program
type to "xdp" (which supports test execution) for the following tests
that have __retval tags:
- bounded loop, count to 4
- bonded loop containing forward jump
Also, remove the __retval tag for test:
- bounded loop, count from positive unknown to 4
As it's return value is a random number.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230421174234.2391278-10-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c')
0 files changed, 0 insertions, 0 deletions