commit | 1061c90f524963a0a90e7d2f9a6bfa666458af51 | [log] [tgz] |
---|---|---|
author | Mohamad Haj Yahia <mohamad@mellanox.com> | Thu Aug 18 21:09:04 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 19 16:09:55 2016 -0700 |
tree | a0523d30b419c8305f579734c9beb38de1b30bb3 | |
parent | 506753b0b40997756d73f841c884a018f52401a0 [diff] |
net/mlx5: Fix pci error recovery flow When PCI error is detected we should save the state of the pci prior to disabling it. Also when receiving pci slot reset call we need to verify that the device is responsive. Fixes: 89d44f0a6c73 ('net/mlx5_core: Add pci error handlers to mlx5_core driver') Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>