Searched refs:recv_mcq (Results 1 – 2 of 2) sorted by relevance
3074 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local3106 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx4_ib_handle_catas_error()3107 spin_lock_irqsave(&recv_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()3108 if (recv_mcq->mcq.comp && in mlx4_ib_handle_catas_error()3110 if (!recv_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()3111 recv_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()3112 list_add_tail(&recv_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()3116 spin_unlock_irqrestore(&recv_mcq->lock, in mlx4_ib_handle_catas_error()
2527 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local2558 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx5_ib_handle_internal_error()2559 spin_lock_irqsave(&recv_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()2560 if (recv_mcq->mcq.comp && in mlx5_ib_handle_internal_error()2562 if (!recv_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()2563 recv_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()2564 list_add_tail(&recv_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()2568 spin_unlock_irqrestore(&recv_mcq->lock, in mlx5_ib_handle_internal_error()