Searched refs:wqe_ctr (Results 1 – 10 of 10) sorted by relevance
55 u16 wqe_ctr; member75 u16 wqe_ctr; member122 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 …]
99 wq->wqe_ctr = 0; in mlx5_wq_cyc_reset()255 wq->wqe_ctr = 0; in mlx5_wq_ll_reset()
669 u16 wqe_ctr; in mlx4_ib_poll_one() local734 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()
146 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()
382 u16 wqe_ctr; member
173 u16 wqe_ctr; in handle_responder() local189 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() local497 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 …]
156 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()
534 u16 wqe_ctr; member
3304 u16 wqe_ctr; in hns_roce_v2_poll_one() local3346 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()
2104 u16 wqe_ctr; in hns_roce_v1_poll_one() local2243 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()