net/mlx5: Fix inner TTC table creation
authorMaor Gottlieb <maorg@nvidia.com>
Mon, 9 Aug 2021 12:12:45 +0000 (15:12 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 11 Aug 2021 18:14:30 +0000 (11:14 -0700)
Fix typo of the cited commit that calls to mlx5_create_ttc_table, instead
of mlx5_create_inner_ttc_table.

Fixes: f4b45940e9b9 ("net/mlx5: Embed mlx5_ttc_table")
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c

index 5c754e9..c06b4b9 100644 (file)
@@ -1255,7 +1255,8 @@ static int mlx5e_create_inner_ttc_table(struct mlx5e_priv *priv)
                return 0;
 
        mlx5e_set_inner_ttc_params(priv, &ttc_params);
-       priv->fs.inner_ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params);
+       priv->fs.inner_ttc = mlx5_create_inner_ttc_table(priv->mdev,
+                                                        &ttc_params);
        if (IS_ERR(priv->fs.inner_ttc))
                return PTR_ERR(priv->fs.inner_ttc);
        return 0;