]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Selftests, remove prints from sockmap tests
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 13 May 2020 19:13:27 +0000 (12:13 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 16 May 2020 00:56:49 +0000 (02:56 +0200)
commit2a1972fc375a1393db7dbb689b0c34783e3bfc54
tree5df3a25f93e9429085ed5360c1afa6e50996c323
parent2b7724b87fdf396f47d5d9070a5ed342a2dc7497
bpf: Selftests, remove prints from sockmap tests

The prints in the test_sockmap programs were only useful when we
didn't have enough control over test infrastructure to know from
user program what was being pushed into kernel side.

Now that we have or will shortly have better test controls lets
remove the printers. This means we can remove half the programs
and cleanup bpf side.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/158939720756.15176.9806965887313279429.stgit@john-Precision-5820-Tower
tools/testing/selftests/bpf/progs/test_sockmap_kern.h
tools/testing/selftests/bpf/test_sockmap.c