bpf: Add tests for map-in-map
Test cases for array of maps and hash of maps. Signed-off-by:Martin KaFai Lau <kafai@fb.com> Acked-by:
Alexei Starovoitov <ast@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- samples/bpf/Makefile 4 additions, 0 deletionssamples/bpf/Makefile
- samples/bpf/bpf_helpers.h 1 addition, 0 deletionssamples/bpf/bpf_helpers.h
- samples/bpf/bpf_load.c 17 additions, 5 deletionssamples/bpf/bpf_load.c
- samples/bpf/test_map_in_map_kern.c 173 additions, 0 deletionssamples/bpf/test_map_in_map_kern.c
- samples/bpf/test_map_in_map_user.c 116 additions, 0 deletionssamples/bpf/test_map_in_map_user.c
- tools/include/uapi/linux/bpf.h 3 additions, 0 deletionstools/include/uapi/linux/bpf.h
- tools/lib/bpf/bpf.c 17 additions, 0 deletionstools/lib/bpf/bpf.c
- tools/lib/bpf/bpf.h 2 additions, 0 deletionstools/lib/bpf/bpf.h
- tools/testing/selftests/bpf/test_verifier.c 118 additions, 13 deletionstools/testing/selftests/bpf/test_verifier.c
Loading
Please register or sign in to comment