Commit 90b85d4e authored by Maor Gottlieb's avatar Maor Gottlieb Committed by Saeed Mahameed
Browse files

net/mlx5: Fix inner TTC table creation



Fix typo of the cited commit that calls to mlx5_create_ttc_table, instead
of mlx5_create_inner_ttc_table.

Fixes: f4b45940 ("net/mlx5: Embed mlx5_ttc_table")
Signed-off-by: default avatarMaor Gottlieb <maorg@nvidia.com>
Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 39c538d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;