summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/cmd.c
diff options
context:
space:
mode:
authorMohamad Haj Yahia <mohamad@mellanox.com>2016-08-18 21:09:04 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-19 16:09:55 -0700
commit1061c90f524963a0a90e7d2f9a6bfa666458af51 (patch)
treea0523d30b419c8305f579734c9beb38de1b30bb3 /drivers/net/ethernet/mellanox/mlx5/core/cmd.c
parent506753b0b40997756d73f841c884a018f52401a0 (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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/cmd.c')
0 files changed, 0 insertions, 0 deletions