Searched refs:send_mcq (Results 1 – 2 of 2) sorted by relevance
3074 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local3088 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()3089 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()3090 if (send_mcq->mcq.comp && in mlx4_ib_handle_catas_error()3092 if (!send_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()3093 send_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()3094 list_add_tail(&send_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()3098 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
2554 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local2568 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()2569 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()2570 if (send_mcq->mcq.comp && in mlx5_ib_handle_internal_error()2572 if (!send_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()2573 send_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()2574 list_add_tail(&send_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()2578 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()