diff options
| author | Danielle Ratson <danieller@nvidia.com> | 2021-05-17 20:03:51 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-18 01:15:46 +0300 |
| commit | 5d01071e64b6ddca3f4c86154407307e482959b4 (patch) | |
| tree | 4d29ba6fc2b2c6e3b6b341053cc5df605d66dc6f /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 16145dbde18a114cc95e0811ba4e2a41e3b27314 (diff) | |
| download | linux-5d01071e64b6ddca3f4c86154407307e482959b4.tar.xz | |
selftests: mlxsw: Make the unsplit array global in port_scale test
Currently, the array of the ports that were split in the port_scale test
is local, so the port_cleanup() unsplits an empty array.
Make the array global so the cleanup will be preformed properly.
Suggested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
