Searched refs:wr_p (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 68 rx_ring->rd_p, rx_ring->wr_p, fl_rd_p, fl_wr_p); in nfp_net_debugfs_rx_q_read() 85 if (i == rx_ring->wr_p % rxd_cnt) in nfp_net_debugfs_rx_q_read() 152 tx_ring->rd_p, tx_ring->wr_p, d_rd_p, d_wr_p); in nfp_net_debugfs_tx_q_read() 177 if (i == tx_ring->wr_p % txd_cnt) in nfp_net_debugfs_tx_q_read()
|
D | nfp_net_common.c | 640 return (tx_ring->wr_p - tx_ring->rd_p) >= (tx_ring->cnt - dcnt); in nfp_net_tx_full() 840 qidx, tx_ring->wr_p, tx_ring->rd_p); in nfp_net_tx() 862 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_net_tx() 927 tx_ring->wr_p += nr_frags + 1; in nfp_net_tx() 982 if (tx_ring->wr_p == tx_ring->rd_p) in nfp_net_tx_complete() 1046 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_net_tx_complete() 1048 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_net_tx_complete() 1085 WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, in nfp_net_xdp_complete() 1087 tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); in nfp_net_xdp_complete() 1105 while (!tx_ring->is_xdp && tx_ring->rd_p != tx_ring->wr_p) { in nfp_net_tx_ring_reset() [all …]
|
D | nfp_net.h | 243 u32 wr_p; member 361 u32 wr_p; member
|