net/mlx5: Reload auxiliary devices in pci error handlers
authorMoshe Shemesh <moshe@nvidia.com>
Sun, 23 Jul 2023 08:03:01 +0000 (11:03 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 7 Aug 2023 18:48:40 +0000 (11:48 -0700)
commitaab8e1a200b926147db51e3f82fd07bb9edf6a98
tree5655f493f8c12139bf5d578148973ead9749cce7
parentd006207625657322ba8251b6e7e829f9659755dc
net/mlx5: Reload auxiliary devices in pci error handlers

Handling pci errors should fully teardown and load back auxiliary
devices, same as done through mlx5 health recovery flow.

Fixes: 72ed5d5624af ("net/mlx5: Suspend auxiliary devices only in case of PCI device suspend")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c