]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
selftests: bpf: centre kernel bpf objects under new subdir "progs"
authorJiong Wang <jiong.wang@netronome.com>
Mon, 11 Feb 2019 12:01:20 +0000 (12:01 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 12 Feb 2019 04:31:38 +0000 (20:31 -0800)
commitbd4aed0ee73ca873bef3cb3ec746dd796f03df28
tree1dcd4de735f8ca3dbf672dc5d48d064ea1dea5dc
parent4836b4637ef080c2764c44ee40ed354cdb991d79
selftests: bpf: centre kernel bpf objects under new subdir "progs"

At the moment, all kernel bpf objects are listed under BPF_OBJ_FILES.
Listing them manually sometimes causing patch conflict when people are
adding new testcases simultaneously.

It is better to centre all the related source files under a subdir
"progs", then auto-generate the object file list.

Suggested-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
99 files changed:
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_flow.c [deleted file]
tools/testing/selftests/bpf/connect4_prog.c [deleted file]
tools/testing/selftests/bpf/connect6_prog.c [deleted file]
tools/testing/selftests/bpf/dev_cgroup.c [deleted file]
tools/testing/selftests/bpf/get_cgroup_id_kern.c [deleted file]
tools/testing/selftests/bpf/netcnt_prog.c [deleted file]
tools/testing/selftests/bpf/progs/bpf_flow.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/connect4_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/connect6_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/dev_cgroup.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/get_cgroup_id_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/netcnt_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sample_map_ret0.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sample_ret0.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sendmsg4_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sendmsg6_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/socket_cookie_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sockmap_parse_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/sockmap_verdict_prog.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_adjust_tail.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_btf_haskv.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_btf_nokv.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_l4lb.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_l4lb_noinline.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_lirc_mode2_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_lwt_seg6local.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_map_in_map.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_map_lock.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_obj_id.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_pkt_access.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_pkt_md_access.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_queue_map.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_skb_cgroup_id_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_sock_fields_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_sockhash_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_sockmap_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_spin_lock.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_stack_map.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_stacktrace_map.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_tcp_estats.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_tcpnotify_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_tracepoint.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_tunnel_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_xdp.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_xdp_meta.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_xdp_noinline.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_xdp_redirect.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_xdp_vlan.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/xdp_dummy.c [new file with mode: 0644]
tools/testing/selftests/bpf/sample_map_ret0.c [deleted file]
tools/testing/selftests/bpf/sample_ret0.c [deleted file]
tools/testing/selftests/bpf/sendmsg4_prog.c [deleted file]
tools/testing/selftests/bpf/sendmsg6_prog.c [deleted file]
tools/testing/selftests/bpf/socket_cookie_prog.c [deleted file]
tools/testing/selftests/bpf/sockmap_parse_prog.c [deleted file]
tools/testing/selftests/bpf/sockmap_tcp_msg_prog.c [deleted file]
tools/testing/selftests/bpf/sockmap_verdict_prog.c [deleted file]
tools/testing/selftests/bpf/test_adjust_tail.c [deleted file]
tools/testing/selftests/bpf/test_btf_haskv.c [deleted file]
tools/testing/selftests/bpf/test_btf_nokv.c [deleted file]
tools/testing/selftests/bpf/test_get_stack_rawtp.c [deleted file]
tools/testing/selftests/bpf/test_l4lb.c [deleted file]
tools/testing/selftests/bpf/test_l4lb_noinline.c [deleted file]
tools/testing/selftests/bpf/test_lirc_mode2_kern.c [deleted file]
tools/testing/selftests/bpf/test_lwt_seg6local.c [deleted file]
tools/testing/selftests/bpf/test_map_in_map.c [deleted file]
tools/testing/selftests/bpf/test_map_lock.c [deleted file]
tools/testing/selftests/bpf/test_obj_id.c [deleted file]
tools/testing/selftests/bpf/test_pkt_access.c [deleted file]
tools/testing/selftests/bpf/test_pkt_md_access.c [deleted file]
tools/testing/selftests/bpf/test_queue_map.c [deleted file]
tools/testing/selftests/bpf/test_select_reuseport_kern.c [deleted file]
tools/testing/selftests/bpf/test_sk_lookup_kern.c [deleted file]
tools/testing/selftests/bpf/test_skb_cgroup_id_kern.c [deleted file]
tools/testing/selftests/bpf/test_sock_fields_kern.c [deleted file]
tools/testing/selftests/bpf/test_sockhash_kern.c [deleted file]
tools/testing/selftests/bpf/test_sockmap_kern.c [deleted file]
tools/testing/selftests/bpf/test_spin_lock.c [deleted file]
tools/testing/selftests/bpf/test_stack_map.c [deleted file]
tools/testing/selftests/bpf/test_stacktrace_build_id.c [deleted file]
tools/testing/selftests/bpf/test_stacktrace_map.c [deleted file]
tools/testing/selftests/bpf/test_tcp_estats.c [deleted file]
tools/testing/selftests/bpf/test_tcpbpf_kern.c [deleted file]
tools/testing/selftests/bpf/test_tcpnotify_kern.c [deleted file]
tools/testing/selftests/bpf/test_tracepoint.c [deleted file]
tools/testing/selftests/bpf/test_tunnel_kern.c [deleted file]
tools/testing/selftests/bpf/test_xdp.c [deleted file]
tools/testing/selftests/bpf/test_xdp_meta.c [deleted file]
tools/testing/selftests/bpf/test_xdp_noinline.c [deleted file]
tools/testing/selftests/bpf/test_xdp_redirect.c [deleted file]
tools/testing/selftests/bpf/test_xdp_vlan.c [deleted file]
tools/testing/selftests/bpf/xdp_dummy.c [deleted file]