Home
last modified time | relevance | path

Searched refs:XDP_REDIRECT (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v6.6/Documentation/bpf/
Dredirect.rst7 XDP_REDIRECT section in Redirect
12 XDP_REDIRECT works with the following map types: argument
34 Silent packet drops for XDP_REDIRECT can be debugged using: argument
Dmap_devmap.rst57 This helper will return ``XDP_REDIRECT`` on success, or the value of the two
105 to ``struct bpf_devmap_val``. Programs are run after ``XDP_REDIRECT`` and have
109 ``XDP_REDIRECT`` and before the buffer is added to the per-cpu queue. Examples
Dmap_xskmap.rst12 call ``bpf_redirect_map()`` and ``XDP_REDIRECT`` action, like 'devmap' and 'cpumap'.
Dbpf_prog_run.rst87 ``XDP_TX`` is actually turned into the same action as an ``XDP_REDIRECT`` to
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_xdp_do_redirect.c26 volatile int retcode = XDP_REDIRECT;
61 if (ret == XDP_REDIRECT) in xdp_redirect()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_xdp_features.sh84 ./xdp_features -f XDP_REDIRECT -D $V1_IP6 -T $V0_IP6 v1 &
86 ip netns exec ${NS} ./xdp_features -t -f XDP_REDIRECT \
Dxdp_features.c103 env.feature.action = XDP_REDIRECT; in get_xdp_feature()
124 case XDP_REDIRECT: in get_xdp_feature_str()
297 action = XDP_REDIRECT; in dut_attach_xdp_prog()
313 case XDP_REDIRECT: { in dut_attach_xdp_prog()
513 case XDP_REDIRECT: in tester_collect_detected_cap()
/Linux-v6.6/include/trace/events/
Dxdp.h125 __entry->act = XDP_REDIRECT;
211 __entry->act = XDP_REDIRECT;
251 __entry->act = XDP_REDIRECT;
287 __entry->act = XDP_REDIRECT;
/Linux-v6.6/samples/bpf/
Dxdp_sample.bpf.c193 if (key > XDP_REDIRECT) in BPF_PROG()
194 key = XDP_REDIRECT + 1; in BPF_PROG()
Dxdp_router_ipv4.bpf.c172 if (ret == XDP_REDIRECT) { in xdp_router_ipv4_prog()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c122 tx_buf->action = XDP_REDIRECT; in __bnxt_xmit_xdp_redirect()
145 if (tx_buf->action == XDP_REDIRECT) { in bnxt_tx_int_xdp()
302 case XDP_REDIRECT: in bnxt_rx_xdp()
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_xdp.c95 case XDP_REDIRECT: in lan966x_xdp_run()
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/
Dmana_bpf.c106 case XDP_REDIRECT: in mana_run_xdp()
/Linux-v6.6/drivers/net/hyperv/
Dnetvsc_bpf.c72 case XDP_REDIRECT: in netvsc_run_xdp()
/Linux-v6.6/kernel/bpf/
Dcpumap.c151 case XDP_REDIRECT: in cpu_map_bpf_prog_run_skb()
211 case XDP_REDIRECT: in cpu_map_bpf_prog_run_xdp()
/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_rx.c696 case XDP_REDIRECT: in gve_xdp_done()
923 u64 xdp_redirects = rx->xdp_actions[XDP_REDIRECT]; in gve_clean_rx_done()
975 if (xdp_redirects != rx->xdp_actions[XDP_REDIRECT]) in gve_clean_rx_done()
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Drx.c326 case XDP_REDIRECT: in efx_do_xdp()
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/microsoft/
Dnetvsc.rst120 XDP_REDIRECT action is not yet supported.
/Linux-v6.6/drivers/net/ethernet/sfc/
Drx.c326 case XDP_REDIRECT: in efx_do_xdp()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfd3/
Dxsk.c236 case XDP_REDIRECT: in nfp_nfd3_xsk_rx()
/Linux-v6.6/drivers/net/vmxnet3/
Dvmxnet3_xdp.c266 case XDP_REDIRECT: in vmxnet3_run_xdp()
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-xsk.c65 if (likely(xdp_act == XDP_REDIRECT)) { in dpaa2_xsk_run_xdp()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c110 if (likely(act == XDP_REDIRECT)) { in ixgbe_run_xdp_zc()
/Linux-v6.6/drivers/net/
Dtun.c1631 case XDP_REDIRECT: in tun_xdp_act()
1712 if (act == XDP_REDIRECT || act == XDP_TX) { in tun_build_skb()
1718 if (act == XDP_REDIRECT || act == XDP_TX) in tun_build_skb()
1723 if (err == XDP_REDIRECT) in tun_build_skb()
2471 case XDP_REDIRECT: in tun_xdp_one()
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dcounters.rst528 `XDP_REDIRECT`-ed from other netdevs.
533 where the data segments were `XDP_REDIRECT`-ed from other netdevs.
538 `XDP_REDIRECT`-ed from other netdevs.
557 `XDP_REDIRECT`-ed from other netdevs.

123