]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bpf: Add tests for map-in-map
authorMartin KaFai Lau <kafai@fb.com>
Wed, 22 Mar 2017 17:00:35 +0000 (10:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 22:45:45 +0000 (15:45 -0700)
commitfb30d4b71214aa1811e997f8f753b14b46d5b912
treea546eefbd355792aa544c0f220b38bab4493b1aa
parentbcc6b1b7ebf857a9fe56202e2be3361131588c15
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>
samples/bpf/Makefile
samples/bpf/bpf_helpers.h
samples/bpf/bpf_load.c
samples/bpf/test_map_in_map_kern.c [new file with mode: 0644]
samples/bpf/test_map_in_map_user.c [new file with mode: 0644]
tools/include/uapi/linux/bpf.h
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/testing/selftests/bpf/test_verifier.c