Lines Matching refs:srq
175 struct mlx5_ib_srq *srq; in handle_responder() local
180 if (qp->ibqp.srq || qp->ibqp.xrcd) { in handle_responder()
186 srq = to_mibsrq(msrq); in handle_responder()
188 srq = to_msrq(qp->ibqp.srq); in handle_responder()
190 if (srq) { in handle_responder()
192 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
193 mlx5_ib_free_srq_wqe(srq, wqe_ctr); in handle_responder()
508 struct mlx5_ib_srq *srq; in mlx5_poll_one() local
510 if ((*cur_qp)->ibqp.srq) { in mlx5_poll_one()
511 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
513 wc->wr_id = srq->wrid[wqe_ctr]; in mlx5_poll_one()
514 mlx5_ib_free_srq_wqe(srq, wqe_ctr); in mlx5_poll_one()
868 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean() argument
896 if (srq && (ntohl(cqe64->srqn) & 0xffffff)) in __mlx5_ib_cq_clean()
897 mlx5_ib_free_srq_wqe(srq, be16_to_cpu(cqe64->wqe_counter)); in __mlx5_ib_cq_clean()
919 void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) in mlx5_ib_cq_clean() argument
925 __mlx5_ib_cq_clean(cq, qpn, srq); in mlx5_ib_cq_clean()