bpf: adding tests for map_in_map helpber in libbpf
authorNikita V. Shirokov <tehnerd@tehnerd.com>
Wed, 21 Nov 2018 04:55:57 +0000 (20:55 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 21 Nov 2018 22:33:22 +0000 (23:33 +0100)
commitb1957c92eba5acad7d8a0a6f968561e08714e978
treed13cf3862141d170631ec5371b3b5982000b6866
parentaddb9fc90f13898e7779da54f471792e3dfb0d55
bpf: adding tests for map_in_map helpber in libbpf

adding test/example of bpf_map__set_inner_map_fd usage

Signed-off-by: Nikita V. Shirokov <tehnerd@tehnerd.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/test_map_in_map.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_maps.c