]> 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)
commit11285bd6ddaa8e61c816f87bf67c6f70e3eeeb4a
tree7a491317b41792c14ad78cc4edb8361d450d36f3
parenteeb2c06d1e1743ab795128b819b07611dbf2ebb9
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: 4c98e2b9fbf6 ("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