bpf: add tls support for testing in test_sockmap
authorJohn Fastabend <john.fastabend@gmail.com>
Sat, 13 Oct 2018 00:46:02 +0000 (02:46 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 15 Oct 2018 19:23:19 +0000 (12:23 -0700)
commite9dd904708c463ff57d019f4482c48d057fa4d7e
treedd860247ea5af5311d9c0a31f371221cb955247e
parentd3b18ad31f93d0b6bae105c679018a1ba7daa9ca
bpf: add tls support for testing in test_sockmap

This adds a --ktls option to test_sockmap in order to enable the
combination of ktls and sockmap to run, which makes for another
batch of 648 test cases for both in combination.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_sockmap.c