diff options
author | James Smart <james.smart@emulex.com> | 2012-03-01 22:34:36 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-27 08:26:29 +0100 |
commit | 5c1db2accd4b3e21aa7440526af9d2d0ccf5241c (patch) | |
tree | 52389bd42996f84699fc66160e822e2b97f5ebe2 /drivers/scsi/lpfc/lpfc_hw4.h | |
parent | 41899be7e8b95c9c8b51ad4ff932769af508306f (diff) | |
download | linux-stable-5c1db2accd4b3e21aa7440526af9d2d0ccf5241c.tar.gz linux-stable-5c1db2accd4b3e21aa7440526af9d2d0ccf5241c.tar.bz2 linux-stable-5c1db2accd4b3e21aa7440526af9d2d0ccf5241c.zip |
[SCSI] lpfc 8.3.30: Fix driver handling of XRI Aborted CQE response
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw4.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h index 9e2b9b227e1a..4aecb5c4e602 100644 --- a/drivers/scsi/lpfc/lpfc_hw4.h +++ b/drivers/scsi/lpfc/lpfc_hw4.h @@ -338,6 +338,12 @@ struct lpfc_cqe { #define CQE_CODE_XRI_ABORTED 0x5 #define CQE_CODE_RECEIVE_V1 0x9 +/* + * Define mask value for xri_aborted and wcqe completed CQE extended status. + * Currently, extended status is limited to 9 bits (0x0 -> 0x103) . + */ +#define WCQE_PARAM_MASK 0x1FF; + /* completion queue entry for wqe completions */ struct lpfc_wcqe_complete { uint32_t word0; |