]> git.baikalelectronics.ru Git - kernel.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)
commitd4f90adc44a1d3abe1f749ccdaf7b95027cf62a1
treea546eefbd355792aa544c0f220b38bab4493b1aa
parent8fdcc49388d58125b550f42314390b027e1ba84e
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