selftests/bpf: add more variations of map-in-map situations
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 15 May 2024 06:24:40 +0000 (23:24 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 15 May 2024 16:34:54 +0000 (09:34 -0700)
commit2322113ac9d0c5653017adbab504fb307b0e92e2
treecdbd7b6721cdba8d2eed7c1a4d589537cd4862bb
parent9ee98229083186837199912a7debb666146b8c17
selftests/bpf: add more variations of map-in-map situations

Add test cases validating usage of PERCPU_ARRAY and PERCPU_HASH maps as
inner maps.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20240515062440.846086-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/map_kptr.c