Home
last modified time | relevance | path

Searched refs:nop_slots (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c122 unsigned int n_descs, wr_p, nop_slots; in nfp_nfdk_tx_maybe_close_block() local
162 nop_slots = D_BLOCK_CPL(wr_p); in nfp_nfdk_tx_maybe_close_block()
168 memset(txd, 0, array_size(nop_slots, sizeof(struct nfp_nfdk_tx_desc))); in nfp_nfdk_tx_maybe_close_block()
171 tx_ring->wr_p += nop_slots; in nfp_nfdk_tx_maybe_close_block()
172 tx_ring->wr_ptr_add += nop_slots; in nfp_nfdk_tx_maybe_close_block()
939 unsigned int nop_slots = D_BLOCK_CPL(tx_ring->wr_p); in nfp_nfdk_tx_xdp_buf() local
944 array_size(nop_slots, sizeof(struct nfp_nfdk_tx_desc))); in nfp_nfdk_tx_xdp_buf()
947 tx_ring->wr_p += nop_slots; in nfp_nfdk_tx_xdp_buf()
948 tx_ring->wr_ptr_add += nop_slots; in nfp_nfdk_tx_xdp_buf()