commit | 2b8e9c7c3fd0e31091edb1c66cc06ffe4988ca21 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Sat Jun 27 13:29:28 2020 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Jul 28 12:55:27 2020 -0700 |
tree | a4d9d325137470c7ee1c360cc9dad960621c41cc | |
parent | 181964e619b76ae2e71bcdc6001cf977bec4cf6e [diff] |
net/mlx5: E-switch, Destroy TSAR when fail to enable the mode When either esw_legacy_enable() or esw_offloads_enable() fails, code missed to destroy the created TSAR. Hence, add the missing call to destroy the TSAR. Fixes: 610090ebce92 ("net/mlx5: E-switch, Initialize TSAR Qos hardware block before its user vports") Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>