Home
last modified time | relevance | path

Searched refs:XDP_TX (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_adjust_tail.c34 ASSERT_EQ(topts.retval, XDP_TX, "ipv6 retval"); in test_xdp_adjust_tail_shrink()
69 ASSERT_EQ(topts.retval, XDP_TX, "ipv6 retval"); in test_xdp_adjust_tail_grow()
109 ASSERT_EQ(tattr.retval, XDP_TX, "case-64 retval"); in test_xdp_adjust_tail_grow2()
128 ASSERT_EQ(tattr.retval, XDP_TX, "case-128 retval"); in test_xdp_adjust_tail_grow2()
180 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-10b retval"); in test_xdp_adjust_frags_tail_shrink()
191 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-4Kb retval"); in test_xdp_adjust_frags_tail_shrink()
201 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-9Kb retval"); in test_xdp_adjust_frags_tail_shrink()
244 ASSERT_EQ(topts.retval, XDP_TX, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()
H A Dxdp.c38 ASSERT_EQ(topts.retval, XDP_TX, "ipv4 test_run retval"); in test_xdp()
49 ASSERT_EQ(topts.retval, XDP_TX, "ipv6 test_run retval"); in test_xdp()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c86 return XDP_TX; in icmp_check()
105 if (ret != XDP_TX) in xdping_client()
149 return XDP_TX; in xdping_client()
164 if (ret != XDP_TX) in xdping_server()
179 return XDP_TX; in xdping_server()
H A Dxdp_synproxy_kern.c425 return XDP_TX; in tcp_dissect()
477 return XDP_TX; in tcp_lookup()
726 return XDP_TX; in syncookie_handle_syn()
754 if (ret != XDP_TX) in syncookie_part1()
758 if (ret != XDP_TX) in syncookie_part1()
782 return XDP_TX; in syncookie_part1()
828 if (ret != XDP_TX) in syncookie_xdp()
846 if (ret != XDP_TX) in syncookie_tc()
856 case XDP_TX: in syncookie_tc()
H A Dxdp_tx.c9 return XDP_TX; in xdp_tx()
H A Dtest_xdp_adjust_tail_shrink.c49 return XDP_TX; in _xdp_adjust_tail_shrink()
H A Dtest_xdp_adjust_tail_grow.c38 return XDP_TX; in _xdp_adjust_tail_grow()
H A Dtest_xdp_loop.c144 return XDP_TX; in handle_ipv4()
204 return XDP_TX; in handle_ipv6()
H A Dtest_xdp.c148 return XDP_TX; in handle_ipv4()
208 return XDP_TX; in handle_ipv6()
H A Dtest_xdp_dynptr.c156 return XDP_TX; in handle_ipv4()
227 return XDP_TX; in handle_ipv6()
H A Dxdp_features.c213 return XDP_TX; in xdp_do_tx()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_features.sh75 ./xdp_features -f XDP_TX -D ::ffff:$V1_IP4 -T ::ffff:$V0_IP4 v1 &
77 ip netns exec ${NS} ./xdp_features -t -f XDP_TX \
H A Dxdp_features.c100 env.feature.action = XDP_TX; in get_xdp_feature()
122 case XDP_TX: in get_xdp_feature_str()
301 case XDP_TX: in dut_attach_xdp_prog()
512 case XDP_TX: in tester_collect_detected_cap()
610 env.feature.action == XDP_TX) in tester_run()
/openbmc/linux/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c149 return XDP_TX; in handle_ipv4()
212 return XDP_TX; in handle_ipv6()
H A Dxdp_adjust_tail_kern.c116 return XDP_TX; in send_icmp4_too_big()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c103 tx_buf->action = XDP_TX; in __bnxt_xmit_xdp()
148 } else if (tx_buf->action == XDP_TX) { in bnxt_tx_int_xdp()
268 case XDP_TX: in bnxt_rx_xdp()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_xdp.c91 case XDP_TX: in lan966x_xdp_run()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.h96 case XDP_TX: in ena_xdp_execute()
/openbmc/linux/Documentation/netlink/specs/
H A Dnetdev.yaml18 (XDP_ABORTED, XDP_DROP, XDP_PASS, XDP_TX)
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_bpf.c102 case XDP_TX: in mana_run_xdp()
/openbmc/linux/Documentation/bpf/
H A Dbpf_prog_run.rst84 though it arrived on that ifindex, and if it returns ``XDP_TX``, the packet
87 ``XDP_TX`` is actually turned into the same action as an ``XDP_REDIRECT`` to
H A Dmap_cpumap.rst44 codes up to ``XDP_TX``, as chosen by the caller.
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c65 case XDP_TX: in netvsc_run_xdp()
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx.c682 case XDP_TX: in gve_xdp_done()
924 u64 xdp_txs = rx->xdp_actions[XDP_TX]; in gve_clean_rx_done()
972 if (xdp_txs != rx->xdp_actions[XDP_TX]) in gve_clean_rx_done()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dcounters.rst468 `XDP_TX` action (bouncing). these packets are not counted by other
474 - Number of multi-packet WQEs transmitted by the netdev and `XDP_TX`-ed by
480 in the WQE and then `XDP_TX`-ed during the RQ context.
489 due to `XDP_TX` action but were dropped due to full tx queue. These packets
496 - The number of times an `XDP_TX` error such as frame too long and frame
497 too short occurred on `XDP_TX` ring of RX ring.
501 - The number of completions received on the CQ of the `XDP_TX` ring.

123