Home
last modified time | relevance | path

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

/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()
/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()
360 srq->wqe_ctr += nreq; in mlx4_ib_post_srq_recv()
368 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx4_ib_post_srq_recv()
Dmlx4_ib.h382 u16 wqe_ctr; member
/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.c131 srq->wqe_ctr = 0; in create_srq_kernel()
457 srq->wqe_ctr += nreq; in mlx5_ib_post_srq_recv()
464 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx5_ib_post_srq_recv()
Dmlx5_ib.h597 u16 wqe_ctr; member
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c2177 u16 wqe_ctr; in hns_roce_v1_poll_one() local
2316 wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2319 wq->tail += (wqe_ctr - (u16)wq->tail) & in hns_roce_v1_poll_one()