diff options
| author | Björn Töpel <[email protected]> | 2019-12-13 17:51:11 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-12-13 21:09:32 +0000 |
| commit | e754f5a6e36b63d6732f52adcbe4c447fd66896f (patch) | |
| tree | 07880954b0a153c950a1d0f12e12fdf426675754 /tools/bpf/bpftool/prog.c | |
| parent | bpf: Start using the BPF dispatcher in BPF_TEST_RUN (diff) | |
| download | kernel-e754f5a6e36b63d6732f52adcbe4c447fd66896f.tar.gz kernel-e754f5a6e36b63d6732f52adcbe4c447fd66896f.zip | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
