]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, selftests: Add test for different array inner map size
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 10 Oct 2020 23:40:04 +0000 (01:40 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 11 Oct 2020 17:21:04 +0000 (10:21 -0700)
commita511cdc5255c159547637e88698d07c799f8b876
tree388ca4e9db85d162c0683f647c0ae609d9400c29
parent2a7dcec36ad95df6abf6e02a052faafb60b05955
bpf, selftests: Add test for different array inner map size

Extend the "diff_size" subtest to also include a non-inlined array map variant
where dynamic inner #elems are possible.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201010234006.7075-5-daniel@iogearbox.net
tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c
tools/testing/selftests/bpf/progs/test_btf_map_in_map.c