Searched refs:nop_slots (Results 1 – 1 of 1) sorted by relevance
119 unsigned int n_descs, wr_p, nop_slots; in nfp_nfdk_tx_maybe_close_block() local159 nop_slots = D_BLOCK_CPL(wr_p); in nfp_nfdk_tx_maybe_close_block()165 memset(txd, 0, array_size(nop_slots, sizeof(struct nfp_nfdk_tx_desc))); in nfp_nfdk_tx_maybe_close_block()168 tx_ring->wr_p += nop_slots; in nfp_nfdk_tx_maybe_close_block()169 tx_ring->wr_ptr_add += nop_slots; in nfp_nfdk_tx_maybe_close_block()936 unsigned int nop_slots = D_BLOCK_CPL(tx_ring->wr_p); in nfp_nfdk_tx_xdp_buf() local941 array_size(nop_slots, sizeof(struct nfp_nfdk_tx_desc))); in nfp_nfdk_tx_xdp_buf()944 tx_ring->wr_p += nop_slots; in nfp_nfdk_tx_xdp_buf()945 tx_ring->wr_ptr_add += nop_slots; in nfp_nfdk_tx_xdp_buf()