net/mlx5: Print more info on pci error handlers
authorSaeed Mahameed <saeedm@nvidia.com>
Tue, 5 Oct 2021 01:39:51 +0000 (18:39 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 3 Dec 2021 00:53:10 +0000 (16:53 -0800)
commitfad1783a6d669ac82b6ea4f2f32b4ba2b5484920
tree50c1cab3e0b391daeefaac142c26048e5507a099
parentc64d01b3ceba873aa8e8605598cec4a6bc6d1601
net/mlx5: Print more info on pci error handlers

In case mlx5_pci_err_detected was called with state equals to
pci_channel_io_perm_failure, the driver will never come back up.

It is nice to know why the driver went to zombie land, so print some
useful information on pci err handlers.

Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c