Searched refs:mlx5_wq_cyc_ctr2ix (Results 1 – 7 of 7) sorted by relevance
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | wq.h | 137 static inline u16 mlx5_wq_cyc_ctr2ix(struct mlx5_wq_cyc *wq, u16 ctr) in mlx5_wq_cyc_ctr2ix() function 144 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr); in mlx5_wq_cyc_get_head() 149 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr - wq->cur_sz); in mlx5_wq_cyc_get_tail()
|
| D | en_rx.c | 117 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, cq->decmprs_wqe_counter + 1); in mlx5e_decompress_cqe() 460 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_alloc_rx_mpwqe() 464 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_alloc_rx_mpwqe() 552 u16 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_poll_ico_single_cqe() 967 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe() 1005 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_handle_rx_cqe_rep() 1306 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5i_handle_rx_cqe() 1338 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter)); in mlx5e_ipsec_handle_rx_cqe()
|
| D | en_tx.c | 529 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_tx_cq() 594 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->cc); in mlx5e_free_txqsq_descs() 674 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5i_sq_xmit() 678 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5i_sq_xmit()
|
| D | en.h | 469 return (mlx5_wq_cyc_ctr2ix(wq, cc - pc) >= n) || (cc == pc); in mlx5e_wqc_has_room_for() 842 *pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_sq_fetch_wqe() 850 u16 pi = mlx5_wq_cyc_ctr2ix(wq, *pc); in mlx5e_post_nop()
|
| D | en_main.c | 948 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_activate_rq() 1370 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_deactivate_txqsq()
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | xdp.c | 108 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc); in mlx5e_xmit_xdp_frame() 203 u16 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sqcc); in mlx5e_poll_xdpsq_cq() 240 u16 ci = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->cc); in mlx5e_free_xdpsq_descs()
|
| D | xdp.h | 56 u16 pi = mlx5_wq_cyc_ctr2ix(wq, sq->pc - 1); /* last pi */ in mlx5e_xmit_xdp_doorbell()
|