diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-08-21 15:05:11 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-08-26 15:15:41 -0700 |
commit | 8e7e2e8ed0e251138926838b7933f8eb6dd56b12 (patch) | |
tree | bfa29436dd5831c1b4c0605a51605f872ef7b45d /drivers/fpga/fpga-mgr.c | |
parent | 2f8b6161cca5fb34b0065e2eac8bb2b61b7bfe87 (diff) | |
download | linux-stable-8e7e2e8ed0e251138926838b7933f8eb6dd56b12.tar.gz linux-stable-8e7e2e8ed0e251138926838b7933f8eb6dd56b12.tar.bz2 linux-stable-8e7e2e8ed0e251138926838b7933f8eb6dd56b12.zip |
net/mlx5: Remove all auxiliary devices at the unregister event
The call to mlx5_unregister_device() means that mlx5_core driver is
removed. In such scenario, we need to disregard all other flags like
attach/detach and forcibly remove all auxiliary devices.
Fixes: a5ae8fc9058e ("net/mlx5e: Don't create devices during unload flow")
Tested-and-Reported-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions