diff options
author | Shay Drory <shayd@nvidia.com> | 2023-04-24 12:46:06 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-05-25 06:44:17 +0300 |
commit | b4646da0573fae9dfa2b8f1f10936cb6eedd7230 (patch) | |
tree | 90aa1099908cb84b0ef437ae01fabeb39602faf9 /include/linux/mlx5/driver.h | |
parent | 824c8dc4a470040bf0e56ba716543839c2498d49 (diff) | |
download | linux-b4646da0573fae9dfa2b8f1f10936cb6eedd7230.tar.xz |
net/mlx5: SF, Drain health before removing device
There is no point in recovery during device removal. Also, if health
work started need to wait for it to avoid races and NULL pointer
access.
Hence, drain health WQ before removing device.
Fixes: 1958fc2f0712 ("net/mlx5: SF, Add auxiliary device driver")
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 'include/linux/mlx5/driver.h')
0 files changed, 0 insertions, 0 deletions