bpf: Add BPF_MAP_TYPE_SK_STORAGE test to test_maps
This patch adds BPF_MAP_TYPE_SK_STORAGE test to test_maps. The src file is rather long, so it is put into another dir map_tests/ and compile like the current prog_tests/ does. Other existing tests in test_maps can also be re-factored into map_tests/ in the future. Signed-off-by:Martin KaFai Lau <kafai@fb.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
- tools/testing/selftests/bpf/Makefile 24 additions, 1 deletiontools/testing/selftests/bpf/Makefile
- tools/testing/selftests/bpf/map_tests/sk_storage_map.c 629 additions, 0 deletionstools/testing/selftests/bpf/map_tests/sk_storage_map.c
- tools/testing/selftests/bpf/test_maps.c 9 additions, 9 deletionstools/testing/selftests/bpf/test_maps.c
- tools/testing/selftests/bpf/test_maps.h 17 additions, 0 deletionstools/testing/selftests/bpf/test_maps.h
Loading
Please register or sign in to comment