Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmain.c3094 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local
3108 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()
3109 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
3110 if (send_mcq->mcq.comp && in mlx4_ib_handle_catas_error()
3112 if (!send_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()
3113 send_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()
3114 list_add_tail(&send_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()
3118 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c4474 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local
4488 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()
4489 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()
4490 if (send_mcq->mcq.comp && in mlx5_ib_handle_internal_error()
4492 if (!send_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()
4493 send_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()
4494 list_add_tail(&send_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()
4498 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()