Searched refs:recv_mcq (Results 1 – 2 of 2) sorted by relevance
3094 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local3126 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx4_ib_handle_catas_error()3127 spin_lock_irqsave(&recv_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()3128 if (recv_mcq->mcq.comp && in mlx4_ib_handle_catas_error()3130 if (!recv_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()3131 recv_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()3132 list_add_tail(&recv_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()3136 spin_unlock_irqrestore(&recv_mcq->lock, in mlx4_ib_handle_catas_error()
4474 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local4505 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx5_ib_handle_internal_error()4506 spin_lock_irqsave(&recv_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()4507 if (recv_mcq->mcq.comp && in mlx5_ib_handle_internal_error()4509 if (!recv_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()4510 recv_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()4511 list_add_tail(&recv_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()4515 spin_unlock_irqrestore(&recv_mcq->lock, in mlx5_ib_handle_internal_error()