/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 68 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 D | xdp_hw_metadata.c | 55 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 D | xdp_features.c | 160 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 D | test_xdp_vlan.c | 124 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 D | test_xdp_with_cpumap_helpers.c | 24 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 D | test_xdp_with_devmap_helpers.c | 24 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 D | test_check_mtu.c | 29 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 D | test_xdp_with_devmap_frags_helpers.c | 18 return XDP_PASS; in xdp_dummy_dm() 24 return XDP_PASS; in xdp_dummy_dm_frags()
|
H A D | test_xdp_with_cpumap_frags_helpers.c | 18 return XDP_PASS; in xdp_dummy_cm() 24 return XDP_PASS; in xdp_dummy_cm_frags()
|
H A D | vrf_socket_lookup.c | 83 return XDP_PASS; in xdp_socket_lookup() 86 return XDP_PASS; in xdp_socket_lookup()
|
H A D | xdp_dummy.c | 10 return XDP_PASS; in xdp_dummy_prog()
|
H A D | test_xdp_devmap_helpers.c | 19 return XDP_PASS; in xdpdm_devlog()
|
H A D | xdp_metadata2.c | 21 return XDP_PASS; in freplace_rx()
|
H A D | freplace_progmap.c | 21 return bpf_redirect_map(&cpu_map, 0, XDP_PASS); in xdp_cpumap_prog()
|
H A D | test_map_in_map_invalid.c | 23 return XDP_PASS; in xdp_noop0()
|
/openbmc/linux/samples/bpf/ |
H A D | xdp_fwd_kern.c | 69 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 D | xdp_adjust_tail_kern.c | 130 return XDP_PASS; in handle_ipv4() 133 return XDP_PASS; in handle_ipv4() 152 return XDP_PASS; in _xdp_icmp()
|
H A D | xdp_tx_iptunnel_kern.c | 108 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 D | xdp_adjust_frags.c | 45 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 D | parse_tcp_hdr_opt.c | 52 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 D | xdp_context_test_run.c | 56 *(__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 D | xdp_bpf2bpf.c | 84 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 D | vmxnet3_xdp.c | 264 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 D | xdp_dummy.c | 10 return XDP_PASS; in xdp_dummy_prog()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_features.sh | 50 ./xdp_features -f XDP_PASS -D $V1_IP6 -T $V0_IP6 v1 & 52 ip netns exec ${NS} ./xdp_features -t -f XDP_PASS \
|