Lines Matching refs:wr_p
281 qidx, tx_ring->wr_p, tx_ring->rd_p); in nfp_nfd3_tx()
307 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfd3_tx()
377 tx_ring->wr_p += nr_frags + 1; in nfp_nfd3_tx()
430 if (tx_ring->wr_p == tx_ring->rd_p) in nfp_nfd3_tx_complete()
501 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_nfd3_tx_complete()
503 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_nfd3_tx_complete()
541 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_nfd3_xdp_complete()
543 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_nfd3_xdp_complete()
593 wr_idx = D_IDX(rx_ring, rx_ring->wr_p); in nfp_nfd3_rx_give_one()
611 rx_ring->wr_p++; in nfp_nfd3_rx_give_one()
612 if (!(rx_ring->wr_p % NFP_NET_FL_BATCH)) { in nfp_nfd3_rx_give_one()
863 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfd3_tx_xdp_buf()
890 tx_ring->wr_p++; in nfp_nfd3_tx_xdp_buf()
1139 else if (unlikely(tx_ring->wr_p != tx_ring->rd_p) && in nfp_nfd3_rx()
1253 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfd3_ctrl_tx_one()
1274 tx_ring->wr_p++; in nfp_nfd3_ctrl_tx_one()