Searched refs:nop_slots (Results 1 – 1 of 1) sorted by relevance
122 unsigned int n_descs, wr_p, nop_slots; in nfp_nfdk_tx_maybe_close_block() local162 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() local944 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()