Home
last modified time | relevance | path

Searched refs:wqe_ctr (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h55 u16 wqe_ctr; member
75 u16 wqe_ctr; member
122 wq->wqe_ctr++; in mlx5_wq_cyc_push()
128 wq->wqe_ctr += n; in mlx5_wq_cyc_push_n()
139 *wq->db = cpu_to_be32(wq->wqe_ctr); in mlx5_wq_cyc_update_db_record()
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()
177 return wq->wqe_ctr; in mlx5_wq_cyc_get_counter()
281 wq->wqe_ctr++; in mlx5_wq_ll_push()
295 *wq->db = cpu_to_be32(wq->wqe_ctr); in mlx5_wq_ll_update_db_record()
[all …]
Dwq.c94 wq->wqe_ctr = 0; in mlx5_wq_cyc_reset()
250 wq->wqe_ctr = 0; in mlx5_wq_ll_reset()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dcq.c669 u16 wqe_ctr; in mlx4_ib_poll_one() local
734 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one()
735 wq->tail += (u16) (wqe_ctr - (u16) wq->tail); in mlx4_ib_poll_one()
741 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one()
742 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
743 mlx4_ib_free_srq_wqe(srq, wqe_ctr); in mlx4_ib_poll_one()
746 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one()
747 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
748 mlx4_ib_free_srq_wqe(srq, wqe_ctr); in mlx4_ib_poll_one()
Dsrq.c150 srq->wqe_ctr = 0; in mlx4_ib_create_srq()
359 srq->wqe_ctr += nreq; in mlx4_ib_post_srq_recv()
367 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx4_ib_post_srq_recv()
Dmlx4_ib.h382 u16 wqe_ctr; member
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c173 u16 wqe_ctr; in handle_responder() local
189 wqe_ctr = be16_to_cpu(cqe->wqe_counter); in handle_responder()
190 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
191 mlx5_ib_free_srq_wqe(srq, wqe_ctr); in handle_responder()
455 u16 wqe_ctr; in mlx5_poll_one() local
500 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
501 idx = wqe_ctr & (wq->wqe_cnt - 1); in mlx5_poll_one()
532 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
533 idx = wqe_ctr & (wq->wqe_cnt - 1); in mlx5_poll_one()
541 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
[all …]
Dsrq.c130 srq->wqe_ctr = 0; in create_srq_kernel()
456 srq->wqe_ctr += nreq; in mlx5_ib_post_srq_recv()
463 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx5_ib_post_srq_recv()
Dmlx5_ib.h585 u16 wqe_ctr; member