Lines Matching refs:rd_p
281 qidx, tx_ring->wr_p, tx_ring->rd_p); in nfp_nfd3_tx()
430 if (tx_ring->wr_p == tx_ring->rd_p) in nfp_nfd3_tx_complete()
448 idx = D_IDX(tx_ring, 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()
530 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfd3_xdp_complete()
531 tx_ring->rd_p++; in nfp_nfd3_xdp_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()
935 idx = D_IDX(rx_ring, rx_ring->rd_p); in nfp_nfd3_rx()
948 rx_ring->rd_p++; in nfp_nfd3_rx()
1139 else if (unlikely(tx_ring->wr_p != tx_ring->rd_p) && in nfp_nfd3_rx()
1329 idx = D_IDX(rx_ring, rx_ring->rd_p); in nfp_ctrl_rx_one()
1340 rx_ring->rd_p++; in nfp_ctrl_rx_one()