Home
last modified time | relevance | path

Searched refs:XDP_PASS (Results 1 – 25 of 45) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dtest_xdp_with_cpumap_helpers.c24 return XDP_PASS; in xdp_dummy_prog()
33 return XDP_PASS; in xdp_dummy_cm()
39 return XDP_PASS; in xdp_dummy_cm_frags()
Dxdp_hw_metadata.c55 return XDP_PASS; in rx()
61 return XDP_PASS; in rx()
67 return XDP_PASS; in rx()
76 return XDP_PASS; in rx()
90 return bpf_redirect_map(&xsk, ctx->rx_queue_index, XDP_PASS); in rx()
Dtest_xdp_with_devmap_helpers.c24 return XDP_PASS; in xdp_dummy_prog()
41 return XDP_PASS; in xdp_dummy_dm()
47 return XDP_PASS; in xdp_dummy_dm_frags()
Dxdping_kern.c68 return XDP_PASS; in icmp_check()
71 return XDP_PASS; in icmp_check()
76 return XDP_PASS; in icmp_check()
79 return XDP_PASS; in icmp_check()
84 return XDP_PASS; in icmp_check()
116 return XDP_PASS; in xdping_client()
133 return XDP_PASS; in xdping_client()
Dtest_xdp_vlan.c124 return XDP_PASS; in xdp_prognum0()
167 return XDP_PASS; in xdp_prognum1()
194 return XDP_PASS; in xdp_prognum2()
209 return XDP_PASS; in xdp_prognum2()
240 return XDP_PASS; in xdp_prognum3()
248 return XDP_PASS; in xdp_prognum3()
Dxdp_features.c160 return XDP_PASS; in xdp_tester_check_tx()
168 return XDP_PASS; in xdp_tester_check_rx()
178 return XDP_PASS; in xdp_do_pass()
185 return XDP_PASS; in xdp_do_drop()
194 return XDP_PASS; in xdp_do_aborted()
207 return XDP_PASS; in xdp_do_tx()
220 return XDP_PASS; in xdp_do_redirect()
259 return XDP_PASS; in xdp_do_redirect_cpumap()
Dtest_xdp_with_devmap_frags_helpers.c18 return XDP_PASS; in xdp_dummy_dm()
24 return XDP_PASS; in xdp_dummy_dm_frags()
Dtest_xdp_with_cpumap_frags_helpers.c18 return XDP_PASS; in xdp_dummy_cm()
24 return XDP_PASS; in xdp_dummy_cm_frags()
Dtest_check_mtu.c29 return XDP_PASS; in xdp_use_helper_basic()
35 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_use_helper()
75 retval = XDP_PASS; /* Success in exceeding MTU check */ in xdp_exceed_mtu()
87 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_minus_delta()
111 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_input_len()
150 retval = XDP_PASS ; /* Success in exceeding MTU check */ in xdp_input_len_exceed()
Dvrf_socket_lookup.c83 return XDP_PASS; in xdp_socket_lookup()
86 return XDP_PASS; in xdp_socket_lookup()
Dxdp_dummy.c10 return XDP_PASS; in xdp_dummy_prog()
Dtest_xdp_devmap_helpers.c19 return XDP_PASS; in xdpdm_devlog()
Dxdp_metadata2.c21 return XDP_PASS; in freplace_rx()
Dfreplace_progmap.c21 return bpf_redirect_map(&cpu_map, 0, XDP_PASS); in xdp_cpumap_prog()
Dtest_map_in_map_invalid.c23 return XDP_PASS; in xdp_noop0()
Dtest_xdp_update_frags.c39 return XDP_PASS; in xdp_adjust_frags()
Dxdp_metadata.c61 return bpf_redirect_map(&xsk, ctx->rx_queue_index, XDP_PASS); in rx()
Dtest_xdp_meta.c50 return XDP_PASS; in ing_xdp()
/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_frags.c45 ASSERT_EQ(topts.retval, XDP_PASS, "xdp_update_frag retval"); in test_xdp_update_frags()
70 ASSERT_EQ(topts.retval, XDP_PASS, "xdp_update_frag retval"); in test_xdp_update_frags()
84 ASSERT_EQ(topts.retval, XDP_PASS, "xdp_update_frag retval"); in test_xdp_update_frags()
98 ASSERT_EQ(topts.retval, XDP_PASS, "xdp_update_frag retval"); in test_xdp_update_frags()
Dparse_tcp_hdr_opt.c51 ASSERT_EQ(topts.retval, XDP_PASS, "ipv6 test_run retval"); in test_parse_opt()
81 ASSERT_EQ(topts.retval, XDP_PASS, "ipv6 test_run retval"); in test_parse_opt_dynptr()
Dxdp_context_test_run.c56 *(__u32 *)data = XDP_PASS; in test_xdp_context_test_run()
66 ASSERT_EQ(opts.retval, XDP_PASS, "valid-retval"); in test_xdp_context_test_run()
Dxdp_perf.c24 ASSERT_EQ(topts.retval, XDP_PASS, "test_run retval"); in test_xdp_perf()
Dxdp_bpf2bpf.c84 ASSERT_EQ(topts.retval, XDP_PASS, "ipv4 retval"); in run_xdp_bpf2bpf_pkt_size()
97 ASSERT_EQ(ftrace_skel->bss->test_result_fexit, XDP_PASS, "fexit result"); in run_xdp_bpf2bpf_pkt_size()
/tools/testing/selftests/net/
Dxdp_dummy.c10 return XDP_PASS; in xdp_dummy_prog()
/tools/testing/selftests/bpf/
Dtest_xdp_features.sh50 ./xdp_features -f XDP_PASS -D $V1_IP6 -T $V0_IP6 v1 &
52 ip netns exec ${NS} ./xdp_features -t -f XDP_PASS \

12