Home
last modified time | relevance | path

Searched refs:wr_p (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c38 rx_ring->rd_p, rx_ring->wr_p, fl_rd_p, fl_wr_p); in nfp_rx_q_show()
55 if (i == rx_ring->wr_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()
128 if (i == tx_ring->wr_p % txd_cnt) in nfp_tx_q_show()
Dnfp_net_common.c680 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()
1026 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_net_tx()
1093 tx_ring->wr_p += nr_frags + 1; in nfp_net_tx()
1146 if (tx_ring->wr_p == 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()
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()
1276 while (!tx_ring->is_xdp && tx_ring->rd_p != tx_ring->wr_p) { in nfp_net_tx_ring_reset()
[all …]
Dnfp_net.h217 u32 wr_p; member
335 u32 wr_p; member