Home
last modified time | relevance | path

Searched refs:qcp_rd_p (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Dxsk.c278 u32 qcp_rd_p; in nfp_nfd3_xsk_complete() local
284 qcp_rd_p = nfp_qcp_rd_ptr_read(tx_ring->qcp_q); in nfp_nfd3_xsk_complete()
286 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfd3_xsk_complete()
289 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_xsk_complete()
294 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); in nfp_nfd3_xsk_complete()
Ddp.c388 u32 qcp_rd_p; in nfp_nfd3_tx_complete() local
395 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfd3_tx_complete()
397 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfd3_tx_complete()
400 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_tx_complete()
442 tx_ring->qcp_rd_p = qcp_rd_p; in nfp_nfd3_tx_complete()
474 u32 qcp_rd_p; in nfp_nfd3_xdp_complete() local
477 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfd3_xdp_complete()
479 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfd3_xdp_complete()
482 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_xdp_complete()
487 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); in nfp_nfd3_xdp_complete()
Drings.c22 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()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c466 u32 rd_p, qcp_rd_p; in nfp_nfdk_tx_complete() local
474 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfdk_tx_complete()
476 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfdk_tx_complete()
479 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfdk_tx_complete()
532 tx_ring->qcp_rd_p = qcp_rd_p; in nfp_nfdk_tx_complete()
807 u32 qcp_rd_p, done = 0; in nfp_nfdk_xdp_complete() local
812 qcp_rd_p = nfp_net_read_tx_cmpl(tx_ring, dp); in nfp_nfdk_xdp_complete()
813 if (qcp_rd_p == tx_ring->qcp_rd_p) in nfp_nfdk_xdp_complete()
816 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfdk_xdp_complete()
855 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + done); in nfp_nfdk_xdp_complete()
Drings.c64 tx_ring->qcp_rd_p = 0; in nfp_nfdk_tx_ring_reset()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h170 u32 qcp_rd_p; member