linux/tools/testing/selftests/bpf/prog_tests
Björn Töpel e754f5a6e3 selftests: bpf: Add xdp_perf test
The xdp_perf is a dummy XDP test, only used to measure the the cost of
jumping into a naive XDP program one million times.

To build and run the program:
  $ cd tools/testing/selftests/bpf
  $ make
  $ ./test_progs -v -t xdp_perf

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191213175112.30208-6-bjorn.topel@gmail.com
2019-12-13 13:09:32 -08:00
..
.gitignore
attach_probe.c
bpf_obj_id.c
bpf_verif_scale.c selftests/bpf: Integrate verbose verifier log into test_progs 2019-11-24 16:58:45 -08:00
btf_dump.c
core_reloc.c selftests/bpf: Ensure core_reloc_kernel is reading test_progs's data only 2019-11-24 16:58:46 -08:00
cpu_mask.c selftests/bpf: Add CPU mask parsing tests 2019-12-13 12:59:55 -08:00
fentry_fexit.c selftests/bpf: Add combined fentry/fexit test 2019-11-15 23:43:41 +01:00
fentry_test.c selftests/bpf: Add test for BPF trampoline 2019-11-15 23:43:15 +01:00
fexit_bpf2bpf.c selftests/bpf: Add a fexit/bpf2bpf test with target bpf prog no callees 2019-12-04 21:34:42 -08:00
fexit_stress.c selftests/bpf: Add stress test for maximum number of progs 2019-11-15 23:43:53 +01:00
fexit_test.c selftests/bpf: Add fexit tests for BPF trampoline 2019-11-15 23:43:28 +01:00
flow_dissector.c
flow_dissector_load_bytes.c
flow_dissector_reattach.c
get_stack_raw_tp.c
global_data.c
kfree_skb.c selftest/bpf: Simple test for fentry/fexit 2019-11-15 23:42:46 +01:00
l4lb_all.c
map_lock.c
mmap.c selftests/bpf: Add BPF_TYPE_MAP_ARRAY mmap() tests 2019-11-18 11:42:00 +01:00
obj_name.c
perf_buffer.c selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs 2019-12-13 13:00:25 -08:00
pinning.c selftests/bpf: Add tests for automatic map unpinning on load failure 2019-11-10 19:26:30 -08:00
pkt_access.c
pkt_md_access.c
probe_user.c
prog_run_xattr.c
queue_stack_map.c
raw_tp_writable_reject_nbd_invalid.c
raw_tp_writable_test_run.c
rdonly_maps.c
reference_tracking.c
section_names.c
select_reuseport.c selftests/bpf: Switch reuseport tests for test_progs framework 2019-12-13 12:38:00 -08:00
send_signal.c
signal_pending.c
skb_ctx.c
sockopt.c
sockopt_inherit.c
sockopt_multi.c
sockopt_sk.c
spinlock.c
stacktrace_build_id.c
stacktrace_build_id_nmi.c
stacktrace_map.c
stacktrace_map_raw_tp.c
tailcalls.c bpf, testing: Add various tail call test cases 2019-11-24 17:04:12 -08:00
task_fd_query_rawtp.c
task_fd_query_tp.c
tcp_estats.c
tcp_rtt.c
test_overhead.c selftests/bpf: Add BPF trampoline performance test 2019-11-24 16:58:46 -08:00
tp_attach_query.c
xdp.c
xdp_adjust_tail.c
xdp_noinline.c
xdp_perf.c selftests: bpf: Add xdp_perf test 2019-12-13 13:09:32 -08:00