Skip to content

Commit 468330e

Browse files
Gal Pressmandavem330
authored andcommitted
net/mlx5e: IPoIB, Fix copy-paste bug in flow steering refactoring
On TTC table creation, the indirection TIRs should be used instead of the inner indirection TIRs. Fixes: 1ae1df3 ("net/mlx5e: Refactor RSS related objects and code") Signed-off-by: Gal Pressman <galp@mellanox.com> Reviewed-by: Shalom Lagziel <shaloml@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e64e469 commit 468330e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/mellanox/mlx5/core/ipoib

‎drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ static int mlx5i_create_flow_steering(struct mlx5e_priv *priv)
271271

272272
mlx5e_set_ttc_ft_params(&ttc_params);
273273
for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++)
274-
ttc_params.indir_tirn[tt] = priv->inner_indir_tir[tt].tirn;
274+
ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn;
275275

276276
err = mlx5e_create_ttc_table(priv, &ttc_params, &priv->fs.ttc);
277277
if (err) {

0 commit comments

Comments
 (0)