Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Ddp.c119 unsigned int n_descs, wr_p, nop_slots; in nfp_nfdk_tx_maybe_close_block() local
159 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() local
941 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()