net/mlx5: Synchronize correct IRQ when destroying CQ
[linux-2.6-microblaze.git] / drivers / net / ethernet / mellanox / mlx5 / core / cq.c
index df3e493..360e093 100644 (file)
@@ -134,6 +134,7 @@ int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
                              cq->cqn);
 
        cq->uar = dev->priv.uar;
+       cq->irqn = eq->core.irqn;
 
        return 0;