/linux-6.1.9/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() 217 struct xdp_desc *descs = pool->tx_descs; in xskq_cons_read_desc_batch() 284 struct xdp_desc *desc, in xskq_cons_peek_desc() 355 static inline void xskq_prod_write_addr_batch(struct xsk_queue *q, struct xdp_desc *descs, in xskq_prod_write_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-6.1.9/tools/testing/selftests/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 | 1100 xsk->config.rx_size * sizeof(struct xdp_desc), in xsk_socket__create_shared() 1121 xsk->config.tx_size * sizeof(struct xdp_desc), in xsk_socket__create_shared() 1173 xsk->config.tx_size * sizeof(struct xdp_desc)); in xsk_socket__create_shared() 1177 xsk->config.rx_size * sizeof(struct xdp_desc)); in xsk_socket__create_shared() 1228 size_t desc_sz = sizeof(struct xdp_desc); in xsk_socket__delete()
|
D | xskxceiver.c | 973 const struct xdp_desc *desc = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx++); in receive_pkts() 1035 struct xdp_desc *tx_desc = xsk_ring_prod__tx_desc(&xsk->tx, idx + i); in __send_pkts()
|
/linux-6.1.9/include/net/ |
D | xdp_sock_drv.h | 18 bool xsk_tx_peek_desc(struct xsk_buff_pool *pool, struct xdp_desc *desc); 152 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-6.1.9/tools/include/uapi/linux/ |
D | if_xdp.h | 103 struct xdp_desc { struct
|
/linux-6.1.9/include/uapi/linux/ |
D | if_xdp.h | 103 struct xdp_desc { struct
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 466 static void i40e_xmit_pkt(struct i40e_ring *xdp_ring, struct xdp_desc *desc, in i40e_xmit_pkt() 483 static void i40e_xmit_pkt_batch(struct i40e_ring *xdp_ring, struct xdp_desc *desc, in i40e_xmit_pkt_batch() 507 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() 538 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in i40e_xmit_zc()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | tx.c | 76 struct xdp_desc desc; in mlx5e_xsk_tx()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 842 static void ice_xmit_pkt(struct ice_tx_ring *xdp_ring, struct xdp_desc *desc, in ice_xmit_pkt() 865 static void ice_xmit_pkt_batch(struct ice_tx_ring *xdp_ring, struct xdp_desc *descs, in ice_xmit_pkt_batch() 896 static void ice_fill_tx_hw_ring(struct ice_tx_ring *xdp_ring, struct xdp_desc *descs, in ice_fill_tx_hw_ring() 931 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in ice_xmit_zc()
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | xsk.c | 336 struct xdp_desc desc[NFP_NET_XSK_TX_BATCH]; in nfp_nfd3_xsk_tx()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 402 struct xdp_desc desc; in ixgbe_xmit_zc()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 2771 struct xdp_desc xdp_desc; in igc_xdp_xmit_zc() local 2781 while (xsk_tx_peek_desc(pool, &xdp_desc) && budget--) { in igc_xdp_xmit_zc() 2788 xdp_desc.len; in igc_xdp_xmit_zc() 2789 olinfo_status = xdp_desc.len << IGC_ADVTXD_PAYLEN_SHIFT; in igc_xdp_xmit_zc() 2791 dma = xsk_buff_raw_get_dma(pool, xdp_desc.addr); in igc_xdp_xmit_zc() 2792 xsk_buff_raw_dma_sync_for_device(pool, dma, xdp_desc.len); in igc_xdp_xmit_zc() 2802 bi->bytecount = xdp_desc.len; in igc_xdp_xmit_zc() 2807 netdev_tx_sent_queue(txring_txq(ring), xdp_desc.len); in igc_xdp_xmit_zc()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2411 struct xdp_desc xdp_desc; in stmmac_xdp_xmit_zc() local 2432 if (!xsk_tx_peek_desc(pool, &xdp_desc)) in stmmac_xdp_xmit_zc() 2442 dma_addr = xsk_buff_raw_get_dma(pool, xdp_desc.addr); in stmmac_xdp_xmit_zc() 2443 xsk_buff_raw_dma_sync_for_device(pool, dma_addr, xdp_desc.len); in stmmac_xdp_xmit_zc() 2455 tx_q->tx_skbuff_dma[entry].len = xdp_desc.len; in stmmac_xdp_xmit_zc() 2476 stmmac_prepare_tx_desc(priv, tx_desc, 1, xdp_desc.len, in stmmac_xdp_xmit_zc() 2478 xdp_desc.len); in stmmac_xdp_xmit_zc()
|