OpenCloudOS-Kernel/include/linux/mlx5
Majd Dibbiny 89d44f0a6c net/mlx5_core: Add pci error handlers to mlx5_core driver
This patch implement the pci_error_handlers for mlx5_core which allow the
driver to recover from PCI error.

Once an error is detected in the PCI, the mlx5_pci_err_detected is called
and it:
1) Marks the device to be in 'Internal Error' state.
2) Dispatches an event to the mlx5_ib to flush all the outstanding cqes
with error.
3) Returns all the on going commands with error.
4) Unloads the driver.

Afterwards, the FW is reset and mlx5_pci_slot_reset is called and it
enables the device and restore it's pci state.

If the later succeeds, mlx5_pci_resume is called, and it loads the SW
stack.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-14 19:14:42 -07:00
..
cmd.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.h net/mlx5_core: Modify CQ moderation parameters 2015-05-30 18:23:59 -07:00
device.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-02 07:21:25 -07:00
doorbell.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
driver.h net/mlx5_core: Add pci error handlers to mlx5_core driver 2015-10-14 19:14:42 -07:00
flow_table.h net/mlx5: Ethernet resource handling files 2015-05-30 18:24:39 -07:00
mlx5_ifc.h net/mlx5e: Light-weight netdev open/stop 2015-08-06 22:00:58 -07:00
qp.h net/mlx5_core: HW data structs/types definitions cleanup 2015-05-30 18:23:11 -07:00
srq.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
vport.h net/mlx5_core: Fix static checker warnings around system guid query flow 2015-06-07 20:11:17 -07:00