Lines Matching refs:mqp
2402 struct mlx5_ib_qp *mqp = to_mqp(ibqp); in mlx5_ib_mcg_attach() local
2409 if (mqp->flags & IB_QP_CREATE_SOURCE_QPN) { in mlx5_ib_mcg_attach()
2533 struct mlx5_ib_qp *mqp; in mlx5_ib_handle_internal_error() local
2545 list_for_each_entry(mqp, &ibdev->qp_list, qps_list) { in mlx5_ib_handle_internal_error()
2546 spin_lock_irqsave(&mqp->sq.lock, flags_qp); in mlx5_ib_handle_internal_error()
2547 if (mqp->sq.tail != mqp->sq.head) { in mlx5_ib_handle_internal_error()
2548 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()
2551 mqp->ibqp.send_cq->comp_handler) { in mlx5_ib_handle_internal_error()
2560 spin_unlock_irqrestore(&mqp->sq.lock, flags_qp); in mlx5_ib_handle_internal_error()
2561 spin_lock_irqsave(&mqp->rq.lock, flags_qp); in mlx5_ib_handle_internal_error()
2563 if (!mqp->ibqp.srq) { in mlx5_ib_handle_internal_error()
2564 if (mqp->rq.tail != mqp->rq.head) { in mlx5_ib_handle_internal_error()
2565 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx5_ib_handle_internal_error()
2568 mqp->ibqp.recv_cq->comp_handler) { in mlx5_ib_handle_internal_error()
2579 spin_unlock_irqrestore(&mqp->rq.lock, flags_qp); in mlx5_ib_handle_internal_error()