Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtxrx.h80 return (mlx5_wq_cyc_ctr2ix(wq, cc - pc) >= n) || (cc == pc); in mlx5e_wqc_has_room_for()
99 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop()
116 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop_fence()
147 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_txqsq_get_next_pi()
164 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_txqsq_get_next_pi()
202 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_icosq_get_next_pi()
219 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_icosq_get_next_pi()
A Dxdp.c171 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdpsq_get_next_pi()
189 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdpsq_get_next_pi()
223 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdp_mpwqe_complete()
316 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xmit_xdp_frame()
436 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_xdpsq_cq()
483 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->cc); in mlx5e_free_xdpsq_descs()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A 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()
A Den_rx.c161 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, cqd->wqe_counter + 1); in mlx5e_decompress_cqe()
815 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_icosq_descs()
888 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_ico_cq()
1613 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe()
1667 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe_rep()
2254 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5i_handle_rx_cqe()
2298 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_ipsec_handle_rx_cqe()
2400 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_trap_handle_rx_cqe()
A Den_txrx.c76 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_trigger_irq()
A Den_tx.c599 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_tx_mpwqe_session_complete()
835 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_tx_cq()
915 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_txqsq_descs()
A Den_main.c1551 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_deactivate_txqsq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
A Dtx.c55 u16 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_xsk_tx_post_err()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_tx.c319 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in tx_post_resync_dump()
368 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in tx_post_fence_nop()

Completed in 26 milliseconds