Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h55 u16 wqe_ctr; member
75 u16 wqe_ctr; member
118 wq->wqe_ctr++; in mlx5_wq_cyc_push()
124 wq->wqe_ctr += n; in mlx5_wq_cyc_push_n()
135 *wq->db = cpu_to_be32(wq->wqe_ctr); in mlx5_wq_cyc_update_db_record()
145 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr); in mlx5_wq_cyc_get_head()
150 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr - wq->cur_sz); in mlx5_wq_cyc_get_tail()
257 wq->wqe_ctr++; in mlx5_wq_ll_push()
271 *wq->db = cpu_to_be32(wq->wqe_ctr); in mlx5_wq_ll_update_db_record()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dcq.c674 u16 wqe_ctr; in mlx4_ib_poll_one() local
739 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one()
740 wq->tail += (u16) (wqe_ctr - (u16) wq->tail); 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()
751 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one()
752 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
753 mlx4_ib_free_srq_wqe(srq, wqe_ctr); in mlx4_ib_poll_one()
Dsrq.c144 srq->wqe_ctr = 0; in mlx4_ib_create_srq()
353 srq->wqe_ctr += nreq; in mlx4_ib_post_srq_recv()
361 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx4_ib_post_srq_recv()
Dmlx4_ib.h363 u16 wqe_ctr; member
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dcq.c172 u16 wqe_ctr; in handle_responder() local
187 wqe_ctr = be16_to_cpu(cqe->wqe_counter); in handle_responder()
188 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
189 mlx5_ib_free_srq_wqe(srq, wqe_ctr); in handle_responder()
431 u16 wqe_ctr; in mlx5_poll_one() local
476 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
477 idx = wqe_ctr & (wq->wqe_cnt - 1); in mlx5_poll_one()
503 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
504 idx = wqe_ctr & (wq->wqe_cnt - 1); in mlx5_poll_one()
512 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one()
[all …]
Dsrq.c156 srq->wqe_ctr = 0; in create_srq_kernel()
474 srq->wqe_ctr += nreq; in mlx5_ib_post_srq_recv()
481 *srq->db.db = cpu_to_be32(srq->wqe_ctr); in mlx5_ib_post_srq_recv()
Dmlx5_ib.h544 u16 wqe_ctr; member
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2702 u16 wqe_ctr; in hns_roce_v2_poll_one() local
2745 wqe_ctr = (u16)roce_get_field(cqe->byte_4, in hns_roce_v2_poll_one()
2748 wq->tail += (wqe_ctr - (u16)wq->tail) & in hns_roce_v2_poll_one()
2756 wqe_ctr = (u16)roce_get_field(cqe->byte_4, in hns_roce_v2_poll_one()
2759 wc->wr_id = srq->wrid[wqe_ctr]; in hns_roce_v2_poll_one()
2760 hns_roce_free_srq_wqe(srq, wqe_ctr); in hns_roce_v2_poll_one()
Dhns_roce_device.h542 u16 wqe_ctr; member
Dhns_roce_hw_v1.c2193 u16 wqe_ctr; in hns_roce_v1_poll_one() local
2331 wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2334 wq->tail += (wqe_ctr - (u16)wq->tail) & in hns_roce_v1_poll_one()