[SCSI] qla2xxx: Handle MPI timeout indicated by AE8002
In case the MPI times out, the FW issues an async event AE8002 to indicate this to every FCoE function. The FC/FCoE driver is required to handle this, by doing a soft reset and issuing a Write MPI register mailbox command to reset the MPI. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
bddd2d65a4
commit
b1d46989c1
@@ -706,6 +706,11 @@ typedef struct {
|
||||
#define MBC_SET_PORT_CONFIG 0x122 /* Set port configuration */
|
||||
#define MBC_GET_PORT_CONFIG 0x123 /* Get port configuration */
|
||||
|
||||
/*
|
||||
* ISP81xx mailbox commands
|
||||
*/
|
||||
#define MBC_WRITE_MPI_REGISTER 0x01 /* Write MPI Register. */
|
||||
|
||||
/* Firmware return data sizes */
|
||||
#define FCAL_MAP_SIZE 128
|
||||
|
||||
@@ -2858,6 +2863,7 @@ typedef struct scsi_qla_host {
|
||||
#define NPIV_CONFIG_NEEDED 16
|
||||
#define ISP_UNRECOVERABLE 17
|
||||
#define FCOE_CTX_RESET_NEEDED 18 /* Initiate FCoE context reset */
|
||||
#define MPI_RESET_NEEDED 19 /* Initiate MPI FW reset */
|
||||
|
||||
uint32_t device_flags;
|
||||
#define SWITCH_FOUND BIT_0
|
||||
|
||||
Reference in New Issue
Block a user