/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_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 | 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 | 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_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_frags_helpers.c | 18 return XDP_PASS; in xdp_dummy_cm() 24 return XDP_PASS; in xdp_dummy_cm_frags()
|
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 | vrf_socket_lookup.c | 83 return XDP_PASS; in xdp_socket_lookup() 86 return XDP_PASS; in xdp_socket_lookup()
|
H A D | xdp_synproxy_kern.c | 393 return XDP_PASS; in tcp_dissect() 410 return XDP_PASS; in tcp_dissect() 416 return XDP_PASS; in tcp_dissect() 471 return XDP_PASS; in tcp_lookup() 745 return XDP_PASS; in syncookie_handle_ack() 847 return ret == XDP_PASS ? TC_ACT_OK : TC_ACT_SHOT; in syncookie_tc() 854 case XDP_PASS: in syncookie_tc()
|
/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() 114 * network stack via XDP_PASS and expect it will do ARP resolution. in xdp_fwd_flags() 131 return XDP_PASS; in xdp_fwd_flags() 143 return XDP_PASS; in xdp_fwd_flags()
|
H A D | xdp_router_ipv4.bpf.c | 107 NO_TEAR_INC(rec->xdp_pass); in xdp_router_ipv4_prog() 108 return XDP_PASS; in xdp_router_ipv4_prog() 159 NO_TEAR_INC(rec->xdp_pass); in xdp_router_ipv4_prog() 160 return XDP_PASS; in xdp_router_ipv4_prog()
|
H A D | xdp_sample_user.c | 186 [XDP_PASS] = "XDP_PASS", 269 " \t\t\t\tpass/s - XDP_PASS count for CPUMAP program execution\n" in sample_print_help() 360 rec->cpu[i].xdp_pass = READ_ONCE(values[i].xdp_pass); in map_collect_percpu() 367 sum_xdp_pass += rec->cpu[i].xdp_pass; in map_collect_percpu() 375 rec->total.xdp_pass = sum_xdp_pass; in map_collect_percpu() 637 static void calc_xdp_pps(struct datarec *r, struct datarec *p, double *xdp_pass, in calc_xdp_pps() argument 640 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps() 643 *xdp_pass = (r->xdp_pass - p->xdp_pass) / period_; in calc_xdp_pps() 749 double xdp_pass, xdp_drop, xdp_redirect; in stats_get_cpumap_remote() local 758 calc_xdp_pps(&rec->total, &prev->total, &xdp_pass, &xdp_drop, in stats_get_cpumap_remote() [all …]
|
H A D | xdp_adjust_tail_kern.c | 131 return XDP_PASS; in handle_ipv4() 134 return XDP_PASS; in handle_ipv4() 153 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/tools/testing/selftests/bpf/ |
H A D | test_xdp_features.sh | 49 ## XDP_PASS 50 ./xdp_features -f XDP_PASS -D $V1_IP6 -T $V0_IP6 v1 & 52 ip netns exec ${NS} ./xdp_features -t -f XDP_PASS \
|
H A D | xdp_features.c | 70 "- XDP_PASS\n" 89 if (!strcmp(arg, "XDP_PASS")) { in get_xdp_feature() 90 env.feature.action = XDP_PASS; in get_xdp_feature() 116 case XDP_PASS: in get_xdp_feature_str() 117 return YELLOW("XDP_PASS"); in get_xdp_feature_str() 310 case XDP_PASS: in dut_attach_xdp_prog() 511 case XDP_PASS: in tester_collect_detected_cap()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.c | 274 case XDP_PASS: in vmxnet3_run_xdp() 361 act = XDP_PASS; in vmxnet3_process_xdp_small() 365 if (act != XDP_PASS) in vmxnet3_process_xdp_small() 405 act = XDP_PASS; in vmxnet3_process_xdp() 410 if (act == XDP_PASS) { in vmxnet3_process_xdp()
|
/openbmc/linux/include/trace/events/ |
H A D | xdp.h | 204 __field(unsigned int, xdp_pass) 216 __entry->xdp_pass = xdp_stats->pass; 225 " xdp_pass=%u xdp_drop=%u xdp_redirect=%u", 230 __entry->xdp_pass, __entry->xdp_drop, __entry->xdp_redirect)
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.h | 138 case XDP_PASS: in ena_xdp_execute() 139 xdp_stat = &rx_ring->rx_stats.xdp_pass; in ena_xdp_execute()
|