Searched refs:rd_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() 83 if (i == rx_ring->rd_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() 175 if (i == tx_ring->rd_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() 982 if (tx_ring->wr_p == tx_ring->rd_p) in nfp_net_tx_complete() 994 idx = D_IDX(tx_ring, 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() 1074 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_net_xdp_complete() 1075 tx_ring->rd_p++; in nfp_net_xdp_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() [all …]
|
D | nfp_net.h | 244 u32 rd_p; member 362 u32 rd_p; member
|