Home
last modified time | relevance | path

Searched refs:mlx5_wq_cyc_ctr2ix (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h90 return (mlx5_wq_cyc_ctr2ix(wq, cc - pc) >= n) || (cc == pc); in mlx5e_wqc_has_room_for()
109 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop()
126 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop_fence()
157 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_txqsq_get_next_pi()
174 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_txqsq_get_next_pi()
217 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_icosq_get_next_pi()
234 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_icosq_get_next_pi()
Dxdp.c204 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdpsq_get_next_pi()
222 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdpsq_get_next_pi()
256 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdp_mpwqe_complete()
547 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_xdpsq_cq()
594 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->cc); in mlx5e_free_xdpsq_descs()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h142 static inline u16 mlx5_wq_cyc_ctr2ix(struct mlx5_wq_cyc *wq, u16 ctr) in mlx5_wq_cyc_ctr2ix() function
149 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr); in mlx5_wq_cyc_get_head()
154 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr - wq->cur_sz); in mlx5_wq_cyc_get_tail()
Den_tx.c359 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_tx_flush()
569 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_tx_mpwqe_session_complete()
827 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_tx_cq()
908 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_txqsq_descs()
Den_txrx.c77 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_trigger_irq()
Den_rx.c164 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, cqd->wqe_counter + 1); in mlx5e_decompress_cqe()
410 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_alloc_rx_wqes()
818 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_icosq_descs()
891 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_ico_cq()
1705 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe()
1759 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe_rep()
2366 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5i_handle_rx_cqe()
2461 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_trap_handle_rx_cqe()
Den_main.c1697 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_deactivate_txqsq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c49 u16 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_xsk_tx_post_err()
Drx.c166 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_xsk_alloc_rx_wqes_batched()
188 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_xsk_alloc_rx_wqes()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c592 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in tx_post_fence_nop()
731 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in tx_post_resync_dump()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c363 pi = mlx5_wq_cyc_ctr2ix(&aso->wq, aso->pc); in mlx5_aso_get_wqe()