diff options
author | Martin KaFai Lau <kafai@fb.com> | 2017-06-05 21:15:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 21:41:24 +0200 |
commit | 95b9afd3987f91c09151158279e165276a95c597 (patch) | |
tree | f71901b7ceeebc924ad0c68184f4cd4f96511c7c /tools/testing/selftests/bpf/Makefile | |
parent | bpf: Add BPF_OBJ_GET_INFO_BY_FD (diff) | |
download | linux-95b9afd3987f91c09151158279e165276a95c597.tar.xz linux-95b9afd3987f91c09151158279e165276a95c597.zip |
bpf: Test for bpf ID
Add test to exercise the bpf_prog/map id generation,
bpf_(prog|map)_get_next_id(), bpf_(prog|map)_get_fd_by_id() and
bpf_get_obj_info_by_fd().
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/Makefile')
-rw-r--r-- | tools/testing/selftests/bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index f389b02d43a0..9f0e07ba5334 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -14,7 +14,7 @@ LDLIBS += -lcap -lelf TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \ test_align -TEST_GEN_FILES = test_pkt_access.o test_xdp.o test_l4lb.o test_tcp_estats.o +TEST_GEN_FILES = test_pkt_access.o test_xdp.o test_l4lb.o test_tcp_estats.o test_obj_id.o TEST_PROGS := test_kmod.sh |