diff options
author | Shay Drory <shayd@nvidia.com> | 2024-07-30 09:16:30 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-01 04:04:50 +0300 |
commit | 1b75da22ed1e6171e261bc9265370162553d5393 (patch) | |
tree | 817ab84112580e09051bd543b499864e462515f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f73ef82985890e484efaed816b172fdf35c87aa (diff) | |
download | linux-1b75da22ed1e6171e261bc9265370162553d5393.tar.xz |
net/mlx5: Always drain health in shutdown callback
There is no point in recovery during device shutdown. if health
work started need to wait for it to avoid races and NULL pointer
access.
Hence, drain health WQ on shutdown callback.
Fixes: 1958fc2f0712 ("net/mlx5: SF, Add auxiliary device driver")
Fixes: d2aa060d40fa ("net/mlx5: Cancel health poll before sending panic teardown command")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/20240730061638.1831002-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions