Searched refs:send_mcq (Results 1 – 2 of 2) sorted by relevance
3038 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local3052 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()3053 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()3054 if (send_mcq->mcq.comp && in mlx4_ib_handle_catas_error()3056 if (!send_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()3057 send_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()3058 list_add_tail(&send_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()3062 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
2604 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local2618 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()2619 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()2620 if (send_mcq->mcq.comp && in mlx5_ib_handle_internal_error()2622 if (!send_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()2623 send_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()2624 list_add_tail(&send_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()2628 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()