]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef11b98382db3c2be3e32a0573b8cac979305088
tree77c532009dd2ccae56d7f280e516e355471c4eaa
parent34130781846734bcb681057b32612374533443dc
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: 48eb32f1e12b ("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