Searched refs:mlx5_wq_cyc_ctr2ix (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 106 return (mlx5_wq_cyc_ctr2ix(wq, cc - pc) >= n) || (cc == pc); in mlx5e_wqc_has_room_for() 125 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop() 142 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop_fence() 173 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_txqsq_get_next_pi() 190 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_txqsq_get_next_pi() 235 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_icosq_get_next_pi() 252 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_icosq_get_next_pi()
|
H A D | xdp.c | 308 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdpsq_get_next_pi() 326 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdpsq_get_next_pi() 360 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xdp_mpwqe_complete() 720 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_xdpsq_cq() 767 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->cc); in mlx5e_free_xdpsq_descs()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | wq.h | 142 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()
|
H A D | en_rx.c | 180 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, cqd->wqe_counter + 1); in mlx5e_decompress_cqe() 413 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_xsk_free_rx_wqes() 431 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_free_rx_wqes() 445 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_alloc_rx_wqes() 486 int j = mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, ix + i); in mlx5e_refill_rx_wqes() 957 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_icosq_descs() 1030 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_ico_cq() 1830 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe() 1878 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe_rep() 2654 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5i_handle_rx_cqe() [all …]
|
H A D | en_tx.c | 363 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_tx_flush() 582 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() 910 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_free_txqsq_descs()
|
H A D | en_txrx.c | 77 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_trigger_irq()
|
H A D | en_main.c | 1205 wqe_ix = mlx5_wq_cyc_ctr2ix(wq, head++); in mlx5e_free_rx_descs() 1754 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_deactivate_txqsq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | tx.c | 49 u16 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in mlx5e_xsk_tx_post_err()
|
H A D | rx.c | 181 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_xsk_alloc_rx_wqes_batched() 204 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_xsk_alloc_rx_wqes()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_tx.c | 587 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in tx_post_fence_nop() 726 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); in tx_post_resync_dump()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | aso.c | 361 pi = mlx5_wq_cyc_ctr2ix(&aso->wq, aso->pc); in mlx5_aso_get_wqe()
|