/linux-5.19.10/net/xdp/ |
D | xsk_queue.h | 31 struct xdp_desc desc[] ____cacheline_aligned_in_smp; 133 struct xdp_desc *desc) in xp_aligned_validate_desc() 153 struct xdp_desc *desc) in xp_unaligned_validate_desc() 173 struct xdp_desc *desc) in xp_validate_desc() 180 struct xdp_desc *d, in xskq_cons_is_valid_desc() 191 struct xdp_desc *desc, in xskq_cons_read_desc() 212 struct xdp_desc *descs = pool->tx_descs; in xskq_cons_read_desc_batch() 277 struct xdp_desc *desc, in xskq_cons_peek_desc() 353 static inline u32 xskq_prod_reserve_addr_batch(struct xsk_queue *q, struct xdp_desc *descs, in xskq_prod_reserve_addr_batch()
|
D | xsk.c | 316 bool xsk_tx_peek_desc(struct xsk_buff_pool *pool, struct xdp_desc *desc) in xsk_tx_peek_desc() 348 struct xdp_desc *descs = pool->tx_descs; in xsk_tx_peek_release_fallback() 424 struct xdp_desc *desc) in xsk_build_skb_zerocopy() 472 struct xdp_desc *desc) in xsk_build_skb() 519 struct xdp_desc desc; in xsk_generic_xmit()
|
/linux-5.19.10/tools/lib/bpf/ |
D | xsk.h | 136 static inline struct xdp_desc *xsk_ring_prod__tx_desc(struct xsk_ring_prod *tx, in xsk_ring_prod__tx_desc() 139 struct xdp_desc *descs = (struct xdp_desc *)tx->ring; in xsk_ring_prod__tx_desc() 144 static inline const struct xdp_desc * 147 const struct xdp_desc *descs = (const struct xdp_desc *)rx->ring; in xsk_ring_cons__rx_desc()
|
D | xsk.c | 1091 xsk->config.rx_size * sizeof(struct xdp_desc), in xsk_socket__create_shared() 1112 xsk->config.tx_size * sizeof(struct xdp_desc), in xsk_socket__create_shared() 1164 xsk->config.tx_size * sizeof(struct xdp_desc)); in xsk_socket__create_shared() 1168 xsk->config.rx_size * sizeof(struct xdp_desc)); in xsk_socket__create_shared() 1219 size_t desc_sz = sizeof(struct xdp_desc); in xsk_socket__delete()
|
/linux-5.19.10/include/net/ |
D | xdp_sock_drv.h | 15 bool xsk_tx_peek_desc(struct xsk_buff_pool *pool, struct xdp_desc *desc); 147 struct xdp_desc *desc) in xsk_tx_peek_desc()
|
D | xsk_buff_pool.h | 16 struct xdp_desc; 63 struct xdp_desc *tx_descs;
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 412 static void i40e_xmit_pkt(struct i40e_ring *xdp_ring, struct xdp_desc *desc, in i40e_xmit_pkt() 429 static void i40e_xmit_pkt_batch(struct i40e_ring *xdp_ring, struct xdp_desc *desc, in i40e_xmit_pkt_batch() 453 static void i40e_fill_tx_hw_ring(struct i40e_ring *xdp_ring, struct xdp_desc *descs, u32 nb_pkts, in i40e_fill_tx_hw_ring() 484 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in i40e_xmit_zc()
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | if_xdp.h | 103 struct xdp_desc { struct
|
/linux-5.19.10/include/uapi/linux/ |
D | if_xdp.h | 103 struct xdp_desc { struct
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | tx.c | 82 struct xdp_desc desc; in mlx5e_xsk_tx()
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 862 static void ice_xmit_pkt(struct ice_tx_ring *xdp_ring, struct xdp_desc *desc, in ice_xmit_pkt() 885 static void ice_xmit_pkt_batch(struct ice_tx_ring *xdp_ring, struct xdp_desc *descs, in ice_xmit_pkt_batch() 924 static void ice_fill_tx_hw_ring(struct ice_tx_ring *xdp_ring, struct xdp_desc *descs, in ice_fill_tx_hw_ring() 957 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in ice_xmit_zc()
|
/linux-5.19.10/Documentation/networking/ |
D | af_xdp.rst | 186 is a struct xdp_desc descriptor. The descriptor contains UMEM offset 192 The user application consumes struct xdp_desc descriptors from this 198 The TX ring is used to send frames. The struct xdp_desc descriptor is 204 The user application produces struct xdp_desc descriptors to this 488 // struct xdp_desc *desc; 500 // typedef struct xdp_desc RING_TYPE;
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | xsk.c | 333 struct xdp_desc desc[NFP_NET_XSK_TX_BATCH]; in nfp_nfd3_xsk_tx()
|
/linux-5.19.10/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 2615 struct xdp_desc xdp_desc; in igc_xdp_xmit_zc() local 2625 while (xsk_tx_peek_desc(pool, &xdp_desc) && budget--) { in igc_xdp_xmit_zc() 2632 xdp_desc.len; in igc_xdp_xmit_zc() 2633 olinfo_status = xdp_desc.len << IGC_ADVTXD_PAYLEN_SHIFT; in igc_xdp_xmit_zc() 2635 dma = xsk_buff_raw_get_dma(pool, xdp_desc.addr); in igc_xdp_xmit_zc() 2636 xsk_buff_raw_dma_sync_for_device(pool, dma, xdp_desc.len); in igc_xdp_xmit_zc() 2646 bi->bytecount = xdp_desc.len; in igc_xdp_xmit_zc() 2651 netdev_tx_sent_queue(txring_txq(ring), xdp_desc.len); in igc_xdp_xmit_zc()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 402 struct xdp_desc desc; in ixgbe_xmit_zc()
|
/linux-5.19.10/samples/bpf/ |
D | xdp_sample_user.c | 144 struct xdp_desc { struct 1319 (struct xdp_desc){ ifindex, prog_id, xdp_flags }; in sample_install_xdp()
|
D | xdpsock_user.c | 1514 struct xdp_desc *tx_desc = xsk_ring_prod__tx_desc(&xsk->tx, in tx_only()
|
/linux-5.19.10/tools/testing/selftests/bpf/ |
D | xdpxceiver.c | 872 const struct xdp_desc *desc = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx++); in receive_pkts() 912 struct xdp_desc *tx_desc = xsk_ring_prod__tx_desc(&xsk->tx, idx + i); in __send_pkts()
|
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2338 struct xdp_desc xdp_desc; in stmmac_xdp_xmit_zc() local 2359 if (!xsk_tx_peek_desc(pool, &xdp_desc)) in stmmac_xdp_xmit_zc() 2369 dma_addr = xsk_buff_raw_get_dma(pool, xdp_desc.addr); in stmmac_xdp_xmit_zc() 2370 xsk_buff_raw_dma_sync_for_device(pool, dma_addr, xdp_desc.len); in stmmac_xdp_xmit_zc() 2382 tx_q->tx_skbuff_dma[entry].len = xdp_desc.len; in stmmac_xdp_xmit_zc() 2403 stmmac_prepare_tx_desc(priv, tx_desc, 1, xdp_desc.len, in stmmac_xdp_xmit_zc() 2405 xdp_desc.len); in stmmac_xdp_xmit_zc()
|