Home
last modified time | relevance | path

Searched refs:send_mcq (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c3074 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local
3088 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()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c2603 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local
2617 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()
2618 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()
2619 if (send_mcq->mcq.comp && in mlx5_ib_handle_internal_error()
2621 if (!send_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()
2622 send_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()
2623 list_add_tail(&send_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()
2627 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()