Lines Matching refs:send_cq
1044 if (qp->send_cq && qp->send_cq != qp->recv_cq) in mlx4_modify_qp()
1045 mlx4_cq_clean(to_mcq(qp->send_cq), qp->qp_num, NULL); in mlx4_modify_qp()
1057 struct mlx4_cq *send_cq = to_mcq(qp->send_cq); in mlx4_lock_cqs() local
1060 if (!qp->send_cq || !qp->recv_cq) { in mlx4_lock_cqs()
1061 if (qp->send_cq) in mlx4_lock_cqs()
1062 pthread_spin_lock(&send_cq->lock); in mlx4_lock_cqs()
1065 } else if (send_cq == recv_cq) { in mlx4_lock_cqs()
1066 pthread_spin_lock(&send_cq->lock); in mlx4_lock_cqs()
1067 } else if (send_cq->cqn < recv_cq->cqn) { in mlx4_lock_cqs()
1068 pthread_spin_lock(&send_cq->lock); in mlx4_lock_cqs()
1072 pthread_spin_lock(&send_cq->lock); in mlx4_lock_cqs()
1078 struct mlx4_cq *send_cq = to_mcq(qp->send_cq); in mlx4_unlock_cqs() local
1082 if (!qp->send_cq || !qp->recv_cq) { in mlx4_unlock_cqs()
1083 if (qp->send_cq) in mlx4_unlock_cqs()
1084 pthread_spin_unlock(&send_cq->lock); in mlx4_unlock_cqs()
1087 } else if (send_cq == recv_cq) { in mlx4_unlock_cqs()
1088 pthread_spin_unlock(&send_cq->lock); in mlx4_unlock_cqs()
1089 } else if (send_cq->cqn < recv_cq->cqn) { in mlx4_unlock_cqs()
1091 pthread_spin_unlock(&send_cq->lock); in mlx4_unlock_cqs()
1093 pthread_spin_unlock(&send_cq->lock); in mlx4_unlock_cqs()
1115 if (ibqp->send_cq && ibqp->send_cq != ibqp->recv_cq) in mlx4_destroy_qp()
1116 __mlx4_cq_clean(to_mcq(ibqp->send_cq), ibqp->qp_num, NULL); in mlx4_destroy_qp()