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()
2603 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local2634 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx5_ib_handle_internal_error()2635 spin_lock_irqsave(&recv_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()2636 if (recv_mcq->mcq.comp && in mlx5_ib_handle_internal_error()2638 if (!recv_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()2639 recv_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()2640 list_add_tail(&recv_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()2644 spin_unlock_irqrestore(&recv_mcq->lock, in mlx5_ib_handle_internal_error()