Searched refs:qcp_rd_p (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | xsk.c | 281 u32 qcp_rd_p; in nfp_nfd3_xsk_complete() local 287 qcp_rd_p = nfp_qcp_rd_ptr_read(tx_ring->qcp_q); in nfp_nfd3_xsk_complete() 289 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfd3_xsk_complete() 292 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_xsk_complete() 297 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); in nfp_nfd3_xsk_complete()
|
H A D | dp.c | 424 u32 qcp_rd_p; in nfp_nfd3_tx_complete() local 431 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfd3_tx_complete() 433 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfd3_tx_complete() 436 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_tx_complete() 478 tx_ring->qcp_rd_p = qcp_rd_p; in nfp_nfd3_tx_complete() 510 u32 qcp_rd_p; in nfp_nfd3_xdp_complete() local 513 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfd3_xdp_complete() 515 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfd3_xdp_complete() 518 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_xdp_complete() 523 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); in nfp_nfd3_xdp_complete()
|
H A D | rings.c | 22 tx_ring->qcp_rd_p++; in nfp_nfd3_xsk_tx_bufs_free() 77 tx_ring->qcp_rd_p++; in nfp_nfd3_tx_ring_reset() 87 tx_ring->qcp_rd_p = 0; in nfp_nfd3_tx_ring_reset()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | dp.c | 476 u32 rd_p, qcp_rd_p; in nfp_nfdk_tx_complete() local 484 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfdk_tx_complete() 486 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfdk_tx_complete() 489 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfdk_tx_complete() 542 tx_ring->qcp_rd_p = qcp_rd_p; in nfp_nfdk_tx_complete() 837 u32 qcp_rd_p, done = 0; in nfp_nfdk_xdp_complete() local 842 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfdk_xdp_complete() 843 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfdk_xdp_complete() 846 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfdk_xdp_complete() 885 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + done); in nfp_nfdk_xdp_complete()
|
H A D | rings.c | 64 tx_ring->qcp_rd_p = 0; in nfp_nfdk_tx_ring_reset()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net.h | 173 u32 qcp_rd_p; member
|