Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c99 wq->wqe_ctr = 0; in mlx5_wq_cyc_reset()
255 wq->wqe_ctr = 0; in mlx5_wq_ll_reset()
/kernel/linux/linux-5.10/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.c146 srq->wqe_ctr = 0; in mlx4_ib_create_srq()
356 srq->wqe_ctr += nreq; in mlx4_ib_post_srq_recv()
364 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx4_ib_post_srq_recv()
Dmlx4_ib.h382 u16 wqe_ctr; member
/kernel/linux/linux-5.10/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()
452 u16 wqe_ctr; in mlx5_poll_one() local
497 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
498 idx = wqe_ctr & (wq->wqe_cnt - 1); in mlx5_poll_one()
525 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
526 idx = wqe_ctr & (wq->wqe_cnt - 1); in mlx5_poll_one()
534 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
[all …]
Dsrq.c156 srq->wqe_ctr = 0; in create_srq_kernel()
477 srq->wqe_ctr += nreq; in mlx5_ib_post_srq_recv()
484 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx5_ib_post_srq_recv()
Dmlx5_ib.h534 u16 wqe_ctr; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c3304 u16 wqe_ctr; in hns_roce_v2_poll_one() local
3346 wqe_ctr = (u16)roce_get_field(cqe->byte_4, in hns_roce_v2_poll_one()
3349 wq->tail += (wqe_ctr - (u16)wq->tail) & in hns_roce_v2_poll_one()
3357 wqe_ctr = (u16)roce_get_field(cqe->byte_4, in hns_roce_v2_poll_one()
3360 wc->wr_id = srq->wrid[wqe_ctr]; in hns_roce_v2_poll_one()
3361 hns_roce_free_srq_wqe(srq, wqe_ctr); in hns_roce_v2_poll_one()
Dhns_roce_hw_v1.c2104 u16 wqe_ctr; in hns_roce_v1_poll_one() local
2243 wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2246 wq->tail += (wqe_ctr - (u16)wq->tail) & in hns_roce_v1_poll_one()