diff options
| author | Eran Ben Elisha <[email protected]> | 2017-06-01 09:40:56 +0300 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2017-07-27 16:40:16 +0300 |
| commit | 079adf05398f12371ea91dd53fdf61ee6352bc01 (patch) | |
| tree | d9e1064338e0fb512070ae3debe4fa118de626a9 /tools/perf/scripts/python | |
| parent | 6b84202c946cd3da3a8daa92c682510e9ed80321 (diff) | |
net/mlx5: Clean SRIOV eswitch resources upon VF creation failure
Upon sriov enable, eswitch is always enabled.
Currently, if enable hca failed over all VFs, we would skip eswitch
disable as part of sriov disable, which will lead to resources leak.
Fix it by disabling eswitch if it was enabled (use indication from
eswitch mode).
Fixes: 6b6adee3dad2 ('net/mlx5: SRIOV core code refactoring')
Signed-off-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Noa Osherovich <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions