Home
last modified time | relevance | path

Searched full:xdp_drop (Results 1 – 25 of 114) sorted by relevance

12345

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxsk_xdp_progs.c20 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_def_prog()
27 return XDP_DROP; in xsk_xdp_drop()
29 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_xdp_drop()
41 return XDP_DROP; in xsk_xdp_populate_metadata()
47 return XDP_DROP; in xsk_xdp_populate_metadata()
52 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_xdp_populate_metadata()
H A Dtest_xdp_noinline.c399 return XDP_DROP; in send_icmp_reply()
429 return XDP_DROP; in send_icmp6_reply()
452 return XDP_DROP; in parse_icmpv6()
460 return XDP_DROP; in parse_icmpv6()
477 return XDP_DROP; in parse_icmp()
485 return XDP_DROP; in parse_icmp()
487 return XDP_DROP; in parse_icmp()
599 return XDP_DROP; in process_l3_headers_v6()
606 return XDP_DROP; in process_l3_headers_v6()
629 return XDP_DROP; in process_l3_headers_v4()
[all …]
H A Dtest_xdp_loop.c90 return XDP_DROP; in handle_ipv4()
94 return XDP_DROP; in handle_ipv4()
108 return XDP_DROP; in handle_ipv4()
120 return XDP_DROP; in handle_ipv4()
160 return XDP_DROP; in handle_ipv6()
164 return XDP_DROP; in handle_ipv6()
178 return XDP_DROP; in handle_ipv6()
189 return XDP_DROP; in handle_ipv6()
216 return XDP_DROP; in _xdp_tx_iptunnel()
226 return XDP_DROP; in _xdp_tx_iptunnel()
H A Dtest_xdp.c94 return XDP_DROP; in handle_ipv4()
98 return XDP_DROP; in handle_ipv4()
112 return XDP_DROP; in handle_ipv4()
124 return XDP_DROP; in handle_ipv4()
164 return XDP_DROP; in handle_ipv6()
168 return XDP_DROP; in handle_ipv6()
182 return XDP_DROP; in handle_ipv6()
193 return XDP_DROP; in handle_ipv6()
220 return XDP_DROP; in _xdp_tx_iptunnel()
230 return XDP_DROP; in _xdp_tx_iptunnel()
H A Dtest_xdp_dynptr.c104 return XDP_DROP; in handle_ipv4()
108 return XDP_DROP; in handle_ipv4()
122 return XDP_DROP; in handle_ipv4()
127 return XDP_DROP; in handle_ipv4()
183 return XDP_DROP; in handle_ipv6()
187 return XDP_DROP; in handle_ipv6()
201 return XDP_DROP; in handle_ipv6()
206 return XDP_DROP; in handle_ipv6()
243 return XDP_DROP; in _xdp_tx_iptunnel()
253 return XDP_DROP; in _xdp_tx_iptunnel()
H A Dtest_xdp_update_frags.c23 return XDP_DROP; in xdp_adjust_frags()
28 return XDP_DROP; in xdp_adjust_frags()
31 return XDP_DROP; in xdp_adjust_frags()
37 return XDP_DROP; in xdp_adjust_frags()
H A Dxdp_synproxy_kern.c378 return XDP_DROP; in tcp_dissect()
386 return XDP_DROP; in tcp_dissect()
388 return XDP_DROP; in tcp_dissect()
390 return XDP_DROP; in tcp_dissect()
402 return XDP_DROP; in tcp_dissect()
404 return XDP_DROP; in tcp_dissect()
420 return XDP_DROP; in tcp_dissect()
423 return XDP_DROP; in tcp_dissect()
443 return XDP_DROP; in tcp_lookup()
606 * header checks return XDP_DROP, so the order doesn't matter. in syncookie_handle_syn()
[all …]
H A Dtest_xdp_adjust_tail_shrink.c27 return XDP_DROP; in _xdp_adjust_tail_shrink()
40 return XDP_DROP; in _xdp_adjust_tail_shrink()
48 return XDP_DROP; in _xdp_adjust_tail_shrink()
H A Dxdpwall.c331 return XDP_DROP; in edgewall()
335 return XDP_DROP; in edgewall()
338 return XDP_DROP; in edgewall()
344 return XDP_DROP; in edgewall()
351 return XDP_DROP; in edgewall()
356 return XDP_DROP; in edgewall()
361 return XDP_DROP; in edgewall()
H A Dtest_map_in_map.c60 return XDP_DROP; in xdp_mimtest0()
65 return XDP_DROP; in xdp_mimtest0()
69 return XDP_DROP; in xdp_mimtest0()
H A Dtest_parse_tcp_hdr_opt_dynptr.c92 return XDP_DROP; in xdp_ingress_v6()
96 return XDP_DROP; in xdp_ingress_v6()
111 return XDP_DROP; in xdp_ingress_v6()
H A Dtest_parse_tcp_hdr_opt.c95 return XDP_DROP; in xdp_ingress_v6()
99 return XDP_DROP; in xdp_ingress_v6()
113 return XDP_DROP; in xdp_ingress_v6()
H A Dtest_xdp_meta.c39 return XDP_DROP; in ing_xdp()
47 return XDP_DROP; in ing_xdp()
H A Dxdp_metadata.c39 return XDP_DROP; in rx()
45 return XDP_DROP; in rx()
H A Dxdp_redirect_multi_kern.c49 return XDP_DROP; in xdp_redirect_map_multi_prog()
85 return XDP_DROP; in xdp_devmap_prog()
/openbmc/linux/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c93 return XDP_DROP; in handle_ipv4()
97 return XDP_DROP; in handle_ipv4()
113 return XDP_DROP; in handle_ipv4()
125 return XDP_DROP; in handle_ipv4()
165 return XDP_DROP; in handle_ipv6()
169 return XDP_DROP; in handle_ipv6()
185 return XDP_DROP; in handle_ipv6()
197 return XDP_DROP; in handle_ipv6()
224 return XDP_DROP; in _xdp_tx_iptunnel()
H A Dxdp_sample_user.c185 [XDP_DROP] = "XDP_DROP",
270 " \t\t\t\tdrop/s - XDP_DROP count for CPUMAP program execution\n" in sample_print_help()
361 rec->cpu[i].xdp_drop = READ_ONCE(values[i].xdp_drop); in map_collect_percpu()
368 sum_xdp_drop += rec->cpu[i].xdp_drop; in map_collect_percpu()
376 rec->total.xdp_drop = sum_xdp_drop; in map_collect_percpu()
638 double *xdp_drop, double *xdp_redirect, double period_) in calc_xdp_pps() argument
640 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps()
644 *xdp_drop = (r->xdp_drop - p->xdp_drop) / 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 Dxdp_adjust_tail_kern.c76 return XDP_DROP; in send_icmp4_too_big()
81 return XDP_DROP; in send_icmp4_too_big()
146 return XDP_DROP; in _xdp_icmp()
H A Dxdp_fwd_kern.c57 return XDP_DROP; in xdp_fwd_flags()
66 return XDP_DROP; in xdp_fwd_flags()
85 return XDP_DROP; in xdp_fwd_flags()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_features.sh57 ## XDP_DROP
58 ./xdp_features -f XDP_DROP -D ::ffff:$V1_IP4 -T ::ffff:$V0_IP4 v1 &
60 ip netns exec ${NS} ./xdp_features -t -f XDP_DROP \
H A Dxdp_features.c71 "- XDP_DROP\n"
92 } else if (!strcmp(arg, "XDP_DROP")) { in get_xdp_feature()
94 env.feature.action = XDP_DROP; in get_xdp_feature()
118 case XDP_DROP: in get_xdp_feature_str()
119 return YELLOW("XDP_DROP"); in get_xdp_feature_str()
304 case XDP_DROP: in dut_attach_xdp_prog()
515 case XDP_DROP: in tester_collect_detected_cap()
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c302 case XDP_DROP: in vmxnet3_run_xdp()
348 return XDP_DROP; in vmxnet3_process_xdp_small()
371 return XDP_DROP; in vmxnet3_process_xdp_small()
374 return likely(*skb_xdp_pass) ? act : XDP_DROP; in vmxnet3_process_xdp_small()
414 act = XDP_DROP; in vmxnet3_process_xdp()
421 return XDP_DROP; in vmxnet3_process_xdp()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c45 act = XDP_DROP; in netvsc_run_xdp()
52 act = XDP_DROP; in netvsc_run_xdp()
69 case XDP_DROP: in netvsc_run_xdp()
88 rx_stats->xdp_drop++; in netvsc_run_xdp()
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_ethtool.c116 u64 xdp_drop; in mana_get_ethtool_stats() local
143 xdp_drop = rx_stats->xdp_drop; in mana_get_ethtool_stats()
150 data[i++] = xdp_drop; in mana_get_ethtool_stats()
/openbmc/linux/include/net/page_pool/
H A Dtypes.h33 * Keeping room for more objects, is due to XDP_DROP use-case. As
34 * XDP_DROP allows the opportunity to recycle objects directly into
36 * cache is already full (or partly full) then the XDP_DROP recycles

12345