net/mlx5: Add error prints when validate ETS failed
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 28 Aug 2016 22:13:49 +0000 (01:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Aug 2016 03:24:16 +0000 (23:24 -0400)
commit1722b9694ecfbc602865017c3fa6da0e3ec234d8
tree05f1d97c8478538073707bb89411efb7cb917f5f
parentbf50082c15eb2bc47d1922e70f424c57f36646d5
net/mlx5: Add error prints when validate ETS failed

Upon set ETS failure due to user invalid input, add error prints to
specify the exact error to the user.

Fixes: cdcf11212b22 ('net/mlx5e: Validate BW weight values of ETS')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c