summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2022-11-24 14:34:12 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-12-28 22:38:50 +0300
commit9078e843efec530f279a155f262793c58b0746bd (patch)
tree95d8d46bcd6219302dba8e480f18736ffc5e71b2 /tools/perf/scripts/python/task-analyzer.py
parent44aee8ea15ac205490a41b00cbafcccbf9f7f82b (diff)
downloadlinux-9078e843efec530f279a155f262793c58b0746bd.tar.xz
net/mlx5: Avoid recovery in probe flows
Currently, recovery is done without considering whether the device is still in probe flow. This may lead to recovery before device have finished probed successfully. e.g.: while mlx5_init_one() is running. Recovery flow is using functionality that is loaded only by mlx5_init_one(), and there is no point in running recovery without mlx5_init_one() finished successfully. Fix it by waiting for probe flow to finish and checking whether the device is probed before trying to perform recovery. Fixes: 51d138c2610a ("net/mlx5: Fix health error state handling") Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions