summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2020-11-03 19:46:31 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-12 01:35:12 +0300
commitfe06992b04a90767cee921b22fb2cb09c93447a8 (patch)
tree419241057e10e4f302082a99b9454d87494537a2 /tools/perf/scripts/python/sched-migration.py
parent7ad67a20f28fd20e63aeb1e095a9bd86bc5b1495 (diff)
downloadlinux-fe06992b04a90767cee921b22fb2cb09c93447a8.tar.xz
net/mlx5: Check returned value from health recover sequence
MLX5_INTERFACE_STATE_UP is far from being reliable check for success to recover, because it can be changed any time and health logic doesn't have any locks to protect from it. The locks are not needed here because health recover is good to have, but not must to success, so rely on the returned value from the mlx5_recover_device() as a marker for success/failure. Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions