Searched refs:send_mcq (Results 1 – 2 of 2) sorted by relevance
3052 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local3066 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()3067 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()3068 if (send_mcq->mcq.comp && in mlx4_ib_handle_catas_error()3070 if (!send_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()3071 send_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()3072 list_add_tail(&send_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()3076 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
2527 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local2541 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()2542 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()2543 if (send_mcq->mcq.comp && in mlx5_ib_handle_internal_error()2545 if (!send_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()2546 send_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()2547 list_add_tail(&send_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()2551 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()