net/mlx5e: Fix VF min/max rate parameters interchange mistake
authorGal Pressman <gal@nvidia.com>
Mon, 21 Feb 2022 15:54:34 +0000 (17:54 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 24 Feb 2022 00:08:19 +0000 (16:08 -0800)
commitca49df96f9f5efd4f0f1e64f7c4c0c63a3329cb9
tree77c532009dd2ccae56d7f280e516e355471c4eaa
parent5ee02b7a800654ff9549807bcf0b4c9fd5cf25f9
net/mlx5e: Fix VF min/max rate parameters interchange mistake

The VF min and max rate were passed incorrectly and resulted in wrongly
interchanging them. Fix the order of parameters in
mlx5_esw_qos_set_vport_rate().

Fixes: d7df09f5e7b4 ("net/mlx5: E-switch, Enable vport QoS on demand")
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c