|
@@ -369,6 +369,9 @@ void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq)
|
|
|
mlx4_warn(dev, "HW2SW_CQ failed (%d) for CQN %06x\n", err, cq->cqn);
|
|
|
|
|
|
synchronize_irq(priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq->vector)].irq);
|
|
|
+ if (priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq->vector)].irq !=
|
|
|
+ priv->eq_table.eq[MLX4_EQ_ASYNC].irq)
|
|
|
+ synchronize_irq(priv->eq_table.eq[MLX4_EQ_ASYNC].irq);
|
|
|
|
|
|
spin_lock_irq(&cq_table->lock);
|
|
|
radix_tree_delete(&cq_table->tree, cq->cqn);
|