]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9587a30bbc2a6c9c5f3eb5ae8f2c444a7251d91
tree50c1cab3e0b391daeefaac142c26048e5507a099
parent3bb1e5dc586b50667a6395debbc1fd1f84d9dba6
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