Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux] / drivers / net / ethernet / mellanox / mlx5 / core / main.c
index ae391e4..7142c90 100644 (file)
@@ -942,9 +942,9 @@ static int mlx5_init_once(struct mlx5_core_dev *dev, struct mlx5_priv *priv)
                goto out;
        }
 
-       err = mlx5_init_cq_table(dev);
+       err = mlx5_cq_debugfs_init(dev);
        if (err) {
-               dev_err(&pdev->dev, "failed to initialize cq table\n");
+               dev_err(&pdev->dev, "failed to initialize cq debugfs\n");
                goto err_eq_cleanup;
        }
 
@@ -1002,7 +1002,7 @@ err_tables_cleanup:
        mlx5_cleanup_mkey_table(dev);
        mlx5_cleanup_srq_table(dev);
        mlx5_cleanup_qp_table(dev);
-       mlx5_cleanup_cq_table(dev);
+       mlx5_cq_debugfs_cleanup(dev);
 
 err_eq_cleanup:
        mlx5_eq_cleanup(dev);
@@ -1023,7 +1023,7 @@ static void mlx5_cleanup_once(struct mlx5_core_dev *dev)
        mlx5_cleanup_mkey_table(dev);
        mlx5_cleanup_srq_table(dev);
        mlx5_cleanup_qp_table(dev);
-       mlx5_cleanup_cq_table(dev);
+       mlx5_cq_debugfs_cleanup(dev);
        mlx5_eq_cleanup(dev);
 }