diff options
| author | Mohamad Haj Yahia <mohamad@mellanox.com> | 2016-08-18 21:09:04 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:25:57 +0200 |
| commit | 712efcaeba69c66ad943107296c4b1b6bc5e8ce9 (patch) | |
| tree | 15b7a5210f7ee871b984d25eee7c8121d3864869 /tools/perf/scripts/python | |
| parent | b50cee2cfdf61ac835c0435553b98a387201ee94 (diff) | |
net/mlx5: Fix pci error recovery flow
commit 1061c90f524963a0a90e7d2f9a6bfa666458af51 upstream.
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
