tools/bpf: Add bpf_map_lookup_elem selftest for xskmap
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 6 Jun 2019 20:59:42 +0000 (13:59 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 11 Jun 2019 06:31:26 +0000 (23:31 -0700)
commit940e7be34ab3d04b7e0b6dd57bdbda1d225c3d8c
treebd14d555613cd7c13e3e5f73f33fdfff80eabb19
parent91eda5998c313282b5acfcc0b5133556382d0737
tools/bpf: Add bpf_map_lookup_elem selftest for xskmap

Check that bpf_map_lookup_elem lookup and structure
access operats correctly.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/verifier/sock.c