selftests/bpf: Unroll the main loop in reuseport test
authorJakub Sitnicki <jakub@cloudflare.com>
Thu, 12 Dec 2019 10:22:54 +0000 (11:22 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Dec 2019 20:38:00 +0000 (12:38 -0800)
commit9936338258308aa008387dc4f9fd3f5fec6c046a
tree8d236b3551d3ae96b5cdf8349060426e59004076
parenta9ce4cf4e47c55ab40641b92551bc9e1de4bfa61
selftests/bpf: Unroll the main loop in reuseport test

Prepare for iterating over individual tests without introducing another
nested loop in the main test function.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212102259.418536-6-jakub@cloudflare.com
tools/testing/selftests/bpf/test_select_reuseport.c