net/mlx5: Fix wrong comment
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / pci_irq.c
index 6bde18bcd42f5df399505a1aec2b46c4b4142552..c72736f1571fd9798a66870d34a1f9743afc4f6d 100644 (file)
@@ -394,7 +394,9 @@ struct mlx5_irq *mlx5_ctrl_irq_request(struct mlx5_core_dev *dev)
                return ERR_PTR(-ENOMEM);
        cpumask_copy(req_mask, cpu_online_mask);
        if (!mlx5_irq_pool_is_sf_pool(pool)) {
-               /* In case we are allocating a control IRQ for PF/VF */
+               /* In case we are allocating a control IRQ from a pci device's pool.
+                * This can happen also for a SF if the SFs pool is empty.
+                */
                if (!pool->xa_num_irqs.max) {
                        cpumask_clear(req_mask);
                        /* In case we only have a single IRQ for PF/VF */