net/mlx5: E-Switch, Remove redundant warning when QoS enable failed
authorBodong Wang <bodong@mellanox.com>
Thu, 17 Oct 2019 19:55:52 +0000 (14:55 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 13 Mar 2020 23:26:03 +0000 (16:26 -0700)
commita9814d7fde59332d54b244d55a7322b272a27430
tree78ed062064c904b15c485153c05552c46951b06a
parent14c844cbf3503076de6e2e48d575216f1600b19f
net/mlx5: E-Switch, Remove redundant warning when QoS enable failed

esw_vport_enable_qos can return error in cases below:
1. QoS is already enabled. Warnning is useless in this case.
2. Create scheduling element cmd failed. There is already a warning.

Remove the redundant warnning if esw_vport_enable_qos returns err.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c