Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx4/
Dmain.c3064 struct mlx4_ib_cq *send_mcq, *recv_mcq; in mlx4_ib_handle_catas_error() local
3078 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()
3079 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
3080 if (send_mcq->mcq.comp && in mlx4_ib_handle_catas_error()
3082 if (!send_mcq->mcq.reset_notify_added) { in mlx4_ib_handle_catas_error()
3083 send_mcq->mcq.reset_notify_added = 1; in mlx4_ib_handle_catas_error()
3084 list_add_tail(&send_mcq->mcq.reset_notify, in mlx4_ib_handle_catas_error()
3088 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx4_ib_handle_catas_error()
/drivers/infiniband/hw/mlx5/
Dmain.c2534 struct mlx5_ib_cq *send_mcq, *recv_mcq; in mlx5_ib_handle_internal_error() local
2548 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()
2549 spin_lock_irqsave(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()
2550 if (send_mcq->mcq.comp && in mlx5_ib_handle_internal_error()
2552 if (!send_mcq->mcq.reset_notify_added) { in mlx5_ib_handle_internal_error()
2553 send_mcq->mcq.reset_notify_added = 1; in mlx5_ib_handle_internal_error()
2554 list_add_tail(&send_mcq->mcq.reset_notify, in mlx5_ib_handle_internal_error()
2558 spin_unlock_irqrestore(&send_mcq->lock, flags_cq); in mlx5_ib_handle_internal_error()