scsi: lpfc: Add changes to assist in NVMET debugging
authorJames Smart <jsmart2021@gmail.com>
Fri, 2 Jun 2017 04:06:58 +0000 (21:06 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 01:37:30 +0000 (21:37 -0400)
commitce1b591c5be11fbe053f009837eccf0c633245f0
treecf3d7acf2f2264bfade80c368b94feed89336976
parent7d790f04d7e4759da238cc6c46796f917af4cec2
scsi: lpfc: Add changes to assist in NVMET debugging

Inconsistent error messages and context state checks

Context state sanity checks were not accurate or inconsistent in the
code paths.

Separated LS context states from FCP.
Added and modified context state sanity checks.
Use context state to determine if a sol or unsol ABORT is needed.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c
drivers/scsi/lpfc/lpfc_nvmet.h