Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c118 unsigned int n_descs, wr_p, nop_slots; in nfp_nfdk_tx_maybe_close_block() local
158 nop_slots = D_BLOCK_CPL(wr_p); in nfp_nfdk_tx_maybe_close_block()
164 memset(txd, 0, array_size(nop_slots, sizeof(struct nfp_nfdk_tx_desc))); in nfp_nfdk_tx_maybe_close_block()
167 tx_ring->wr_p += nop_slots; in nfp_nfdk_tx_maybe_close_block()
168 tx_ring->wr_ptr_add += nop_slots; in nfp_nfdk_tx_maybe_close_block()
902 unsigned int nop_slots = D_BLOCK_CPL(tx_ring->wr_p); in nfp_nfdk_tx_xdp_buf() local
907 array_size(nop_slots, sizeof(struct nfp_nfdk_tx_desc))); in nfp_nfdk_tx_xdp_buf()
910 tx_ring->wr_p += nop_slots; in nfp_nfdk_tx_xdp_buf()
911 tx_ring->wr_ptr_add += nop_slots; in nfp_nfdk_tx_xdp_buf()