Home
last modified time | relevance | path

Searched refs:NUM_ITER (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dxdp_noinline.c52 err = bpf_prog_test_run(prog_fd, NUM_ITER, &pkt_v4, sizeof(pkt_v4), in test_xdp_noinline()
59 err = bpf_prog_test_run(prog_fd, NUM_ITER, &pkt_v6, sizeof(pkt_v6), in test_xdp_noinline()
74 if (CHECK_FAIL(bytes != MAGIC_BYTES * NUM_ITER * 2 || in test_xdp_noinline()
75 pkts != NUM_ITER * 2)) { in test_xdp_noinline()
Dl4lb_all.c51 err = bpf_prog_test_run(prog_fd, NUM_ITER, &pkt_v4, sizeof(pkt_v4), in test_l4lb()
58 err = bpf_prog_test_run(prog_fd, NUM_ITER, &pkt_v6, sizeof(pkt_v6), in test_l4lb()
73 if (CHECK_FAIL(bytes != MAGIC_BYTES * NUM_ITER * 2 || in test_l4lb()
74 pkts != NUM_ITER * 2)) in test_l4lb()
/tools/testing/selftests/bpf/
Dtest_progs.h123 #define NUM_ITER 100000 macro