Lines Matching refs:rd_p
260 qidx, tx_ring->wr_p, tx_ring->rd_p); in nfp_nfd3_tx()
406 if (tx_ring->wr_p == tx_ring->rd_p) in nfp_nfd3_tx_complete()
424 idx = D_IDX(tx_ring, tx_ring->rd_p++); in nfp_nfd3_tx_complete()
477 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_nfd3_tx_complete()
479 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_nfd3_tx_complete()
506 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfd3_xdp_complete()
507 tx_ring->rd_p++; in nfp_nfd3_xdp_complete()
517 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_nfd3_xdp_complete()
519 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_nfd3_xdp_complete()
903 idx = D_IDX(rx_ring, rx_ring->rd_p); in nfp_nfd3_rx()
916 rx_ring->rd_p++; in nfp_nfd3_rx()
1100 else if (unlikely(tx_ring->wr_p != tx_ring->rd_p) && in nfp_nfd3_rx()
1290 idx = D_IDX(rx_ring, rx_ring->rd_p); in nfp_ctrl_rx_one()
1301 rx_ring->rd_p++; in nfp_ctrl_rx_one()