commit | 909ffe462a18041f064656b796999bb524c72a66 | [log] [tgz] |
---|---|---|
author | Chris Mi <cmi@nvidia.com> | Sat Oct 01 21:56:31 2022 -0700 |
committer | Jakub Kicinski <kuba@kernel.org> | Mon Oct 03 16:55:29 2022 -0700 |
tree | 5b021d1c5812222eae1e6fb97e763890ca121388 | |
parent | 8c9cc1eb90c13ee3ec2a8a52af4e564a9b161047 [diff] |
net/mlx5: E-switch, Don't update group if qos is not enabled Currently, qos group will be updated and qos will be enabled when unregistering devlink port. Actually no need to update group if qos is not enabled. Add a check to prevent unnecessary enabling and disabling qos for every port. Signed-off-by: Chris Mi <cmi@nvidia.com> Reviewed-by: Dmytro Linkin <dlinkin@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>