Message ID | 20240124081855.115410-5-saeed@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | c20767fd45e82d64352db82d4fc8d281a43e4783 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,01/14] net/mlx5e: Use the correct lag ports number when creating TISes | expand |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c index 30932c9c9a8f..047b465fc6a5 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c @@ -761,7 +761,7 @@ static int mlx5e_hairpin_create_indirect_rqt(struct mlx5e_hairpin *hp) err = mlx5e_rss_params_indir_init(&indir, mdev, mlx5e_rqt_size(mdev, hp->num_channels), - mlx5e_rqt_size(mdev, priv->max_nch)); + mlx5e_rqt_size(mdev, hp->num_channels)); if (err) return err;