Home
last modified time | relevance | path

Searched full:xdp_tx (Results 1 – 25 of 121) sorted by relevance

12345

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
Dxdp_bonding.c7 * and verifies that XDP_TX program loaded on a bond device
8 * are correctly loaded onto the slave devices and XDP_TX'd
25 #include "xdp_tx.skel.h"
92 struct xdp_tx *xdp_tx; member
183 if (xdp_attach(skeletons, skeletons->xdp_tx->progs.xdp_tx, "bond2")) in bonding_setup()
652 skeletons.xdp_tx = xdp_tx__open_and_load(); in serial_test_xdp_bonding()
653 if (!ASSERT_OK_PTR(skeletons.xdp_tx, "xdp_tx__open_and_load")) in serial_test_xdp_bonding()
685 xdp_tx__destroy(skeletons.xdp_tx); in serial_test_xdp_bonding()
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()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
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()
Dxdp_tx.c7 int xdp_tx(struct xdp_md *xdp) in xdp_tx() function
9 return XDP_TX; in xdp_tx()
Dxdp_synproxy_kern.c405 return XDP_TX; in tcp_dissect()
457 return XDP_TX; in tcp_lookup()
706 return XDP_TX; in syncookie_handle_syn()
734 if (ret != XDP_TX) in syncookie_part1()
738 if (ret != XDP_TX) in syncookie_part1()
762 return XDP_TX; in syncookie_part1()
808 if (ret != XDP_TX) in syncookie_xdp()
826 if (ret != XDP_TX) in syncookie_tc()
836 case XDP_TX: in syncookie_tc()
Dtest_xdp.c148 return XDP_TX; in handle_ipv4()
208 return XDP_TX; in handle_ipv6()
Dtest_xdp_loop.c144 return XDP_TX; in handle_ipv4()
204 return XDP_TX; in handle_ipv6()
Dtest_xdp_adjust_tail_grow.c38 return XDP_TX; in _xdp_adjust_tail_grow()
Dtest_xdp_adjust_tail_shrink.c49 return XDP_TX; in _xdp_adjust_tail_shrink()
Dtest_xdp_dynptr.c156 return XDP_TX; in handle_ipv4()
227 return XDP_TX; in handle_ipv6()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_xdp_features.sh74 ## XDP_TX
75 ./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 \
Dxdp_features.c75 "- XDP_TX\n";
98 } else if (!strcmp(arg, "XDP_TX")) { in get_xdp_feature()
100 env.feature.action = XDP_TX; in get_xdp_feature()
122 case XDP_TX: in get_xdp_feature_str()
123 return YELLOW("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()
Dtest_xdp_veth.sh7 # XDP_TX
114 ip -n ${NS2} link set dev veth22 xdp obj xdp_tx.bpf.o sec xdp
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c344 struct qede_tx_queue *xdp_tx; in qede_xdp_transmit() local
357 xdp_tx = edev->fp_array[i].xdp_tx; in qede_xdp_transmit()
359 spin_lock(&xdp_tx->xdp_tx_lock); in qede_xdp_transmit()
369 if (unlikely(qede_xdp_xmit(xdp_tx, mapping, 0, xdpf->len, in qede_xdp_transmit()
376 xdp_prod = qed_chain_get_prod_idx(&xdp_tx->tx_pbl); in qede_xdp_transmit()
378 xdp_tx->tx_db.data.bd_prod = cpu_to_le16(xdp_prod); in qede_xdp_transmit()
379 qede_update_tx_producer(xdp_tx); in qede_xdp_transmit()
382 spin_unlock(&xdp_tx->xdp_tx_lock); in qede_xdp_transmit()
1107 case XDP_TX: in qede_rx_xdp()
1119 if (unlikely(qede_xdp_xmit(fp->xdp_tx, bd->mapping, in qede_rx_xdp()
[all …]
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c117 u64 xdp_tx; in mana_get_ethtool_stats() local
144 xdp_tx = rx_stats->xdp_tx; in mana_get_ethtool_stats()
151 data[i++] = xdp_tx; in mana_get_ethtool_stats()
/Linux-v6.6/samples/bpf/
Dxdp_tx_iptunnel_kern.c9 * and then XDP_TX it out.
149 return XDP_TX; in handle_ipv4()
212 return XDP_TX; in handle_ipv6()
/Linux-v6.6/Documentation/bpf/
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
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.h58 * device or XDP_TX from an XSK RQ. The frame has to be unmapped and
63 /* The xdp_frame was created in place as a result of XDP_TX from a
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c261 u32 frags, xdp_tx = 0; in ice_clean_xdp_irq() local
293 xdp_tx++; in ice_clean_xdp_irq()
316 xdp_ring->xdp_tx_active -= xdp_tx; in ice_clean_xdp_irq()
/Linux-v6.6/tools/include/uapi/linux/
Dnetdev.h15 * (XDP_ABORTED, XDP_DROP, XDP_PASS, XDP_TX)
/Linux-v6.6/include/uapi/linux/
Dnetdev.h15 * (XDP_ABORTED, XDP_DROP, XDP_PASS, XDP_TX)
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c110 tx_buf->action = XDP_TX; in __bnxt_xmit_xdp()
155 } else if (tx_buf->action == XDP_TX) { in bnxt_tx_int_xdp()
275 case XDP_TX: in bnxt_rx_xdp()
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
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.
/Linux-v6.6/Documentation/netlink/specs/
Dnetdev.yaml18 (XDP_ABORTED, XDP_DROP, XDP_PASS, XDP_TX)

12345