Home
last modified time | relevance | path

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

12345

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dtest_xdp_with_devmap_frags_helpers.c18 return XDP_PASS; in xdp_dummy_dm()
24 return XDP_PASS; in xdp_dummy_dm_frags()
H A Dtest_xdp_with_cpumap_frags_helpers.c18 return XDP_PASS; in xdp_dummy_cm()
24 return XDP_PASS; in xdp_dummy_cm_frags()
H A Dvrf_socket_lookup.c83 return XDP_PASS; in xdp_socket_lookup()
86 return XDP_PASS; in xdp_socket_lookup()
H A Dxdp_dummy.c10 return XDP_PASS; in xdp_dummy_prog()
H A Dtest_xdp_devmap_helpers.c19 return XDP_PASS; in xdpdm_devlog()
H A Dxdp_metadata2.c21 return XDP_PASS; in freplace_rx()
H A Dfreplace_progmap.c21 return bpf_redirect_map(&cpu_map, 0, XDP_PASS); in xdp_cpumap_prog()
H A Dtest_map_in_map_invalid.c23 return XDP_PASS; in xdp_noop0()
/openbmc/linux/samples/bpf/
H A Dxdp_fwd_kern.c69 return XDP_PASS; in xdp_fwd_flags()
88 return XDP_PASS; in xdp_fwd_flags()
99 return XDP_PASS; in xdp_fwd_flags()
131 return XDP_PASS; in xdp_fwd_flags()
143 return XDP_PASS; in xdp_fwd_flags()
H A Dxdp_adjust_tail_kern.c130 return XDP_PASS; in handle_ipv4()
133 return XDP_PASS; in handle_ipv4()
152 return XDP_PASS; in _xdp_icmp()
H A Dxdp_tx_iptunnel_kern.c108 return XDP_PASS; in handle_ipv4()
180 return XDP_PASS; in handle_ipv6()
234 return XDP_PASS; in _xdp_tx_iptunnel()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dparse_tcp_hdr_opt.c52 ASSERT_EQ(topts.retval, XDP_PASS, "ipv6 test_run retval"); in test_parse_opt()
82 ASSERT_EQ(topts.retval, XDP_PASS, "ipv6 test_run retval"); in test_parse_opt_dynptr()
H A 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()
H A 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()
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c264 case XDP_PASS: in vmxnet3_run_xdp()
351 act = XDP_PASS; in vmxnet3_process_xdp_small()
355 if (act != XDP_PASS) in vmxnet3_process_xdp_small()
395 act = XDP_PASS; in vmxnet3_process_xdp()
400 if (act == XDP_PASS) { in vmxnet3_process_xdp()
/openbmc/linux/tools/testing/selftests/net/
H A Dxdp_dummy.c10 return XDP_PASS; in xdp_dummy_prog()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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 \

12345