selftests/bpf: add test cases for queue and stack maps
authorMauricio Vasquez B <mauricio.vasquez@polito.it>
Thu, 18 Oct 2018 13:16:41 +0000 (15:16 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 19 Oct 2018 20:24:31 +0000 (13:24 -0700)
commit43b987d23d6bd08db41a9c4a85aacfb3f0b2a94c
treeba7dca5349f151688141b56642ea209a069281de
parentda4e1b15f67613eca7ae998abd996cfee7cff1ba
selftests/bpf: add test cases for queue and stack maps

test_maps:
Tests that queue/stack maps are behaving correctly even in corner cases

test_progs:
Tests new ebpf helpers

Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_helpers.h
tools/testing/selftests/bpf/test_maps.c
tools/testing/selftests/bpf/test_progs.c
tools/testing/selftests/bpf/test_queue_map.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_queue_stack_map.h [new file with mode: 0644]
tools/testing/selftests/bpf/test_stack_map.c [new file with mode: 0644]