]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Refine ets validation function
authorShay Agroskin <shayag@mellanox.com>
Wed, 27 Jun 2018 12:43:07 +0000 (15:43 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jul 2018 01:16:54 +0000 (18:16 -0700)
commitcc900b207733f8a0ce3731130b0998c7364974f8
tree7a491317b41792c14ad78cc4edb8361d450d36f3
parent6d6ab13d82152a2df492db6ffef5718734a4e2c2
net/mlx5e: Refine ets validation function

Removed an error message received when configuring ETS total
bandwidth to be zero.
Our hardware doesn't support such configuration, so we shall
reject it in the driver. Nevertheless, we removed the error message
in order to eliminate error messages caused by old userspace tools
who try to pass such configuration.

Fixes: eef16456f943 ("net/mlx5e: Fix ETS BW check")
Signed-off-by: Shay Agroskin <shayag@mellanox.com>
Reviewed-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c