Searched refs:rd_p (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 38 rx_ring->rd_p, rx_ring->wr_p, fl_rd_p, fl_wr_p); in nfp_rx_q_show() 53 if (i == rx_ring->rd_p % rxd_cnt) in nfp_rx_q_show() 103 tx_ring->rd_p, tx_ring->wr_p, d_rd_p, d_wr_p); in nfp_tx_q_show() 126 if (i == tx_ring->rd_p % txd_cnt) in nfp_tx_q_show()
|
D | nfp_net_common.c | 680 return (tx_ring->wr_p - tx_ring->rd_p) >= (tx_ring->cnt - dcnt); in nfp_net_tx_full() 1000 qidx, tx_ring->wr_p, tx_ring->rd_p); in nfp_net_tx() 1146 if (tx_ring->wr_p == tx_ring->rd_p) in nfp_net_tx_complete() 1164 idx = D_IDX(tx_ring, tx_ring->rd_p++); in nfp_net_tx_complete() 1217 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_net_tx_complete() 1219 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_net_tx_complete() 1245 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_net_xdp_complete() 1246 tx_ring->rd_p++; in nfp_net_xdp_complete() 1256 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_net_xdp_complete() 1258 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_net_xdp_complete() [all …]
|
D | nfp_net.h | 218 u32 rd_p; member 336 u32 rd_p; member
|