Lines Matching refs:srq
174 struct mlx5_ib_srq *srq; in handle_responder() local
179 if (qp->ibqp.srq || qp->ibqp.xrcd) { in handle_responder()
185 srq = to_mibsrq(msrq); in handle_responder()
187 srq = to_msrq(qp->ibqp.srq); in handle_responder()
189 if (srq) { in handle_responder()
191 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
192 mlx5_ib_free_srq_wqe(srq, wqe_ctr); in handle_responder()
500 struct mlx5_ib_srq *srq; in mlx5_poll_one() local
502 if ((*cur_qp)->ibqp.srq) { in mlx5_poll_one()
503 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
505 wc->wr_id = srq->wrid[wqe_ctr]; in mlx5_poll_one()
506 mlx5_ib_free_srq_wqe(srq, wqe_ctr); in mlx5_poll_one()
855 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean() argument
883 if (srq && (ntohl(cqe64->srqn) & 0xffffff)) in __mlx5_ib_cq_clean()
884 mlx5_ib_free_srq_wqe(srq, be16_to_cpu(cqe64->wqe_counter)); in __mlx5_ib_cq_clean()
906 void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) in mlx5_ib_cq_clean() argument
912 __mlx5_ib_cq_clean(cq, qpn, srq); in mlx5_ib_cq_clean()