diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h index 86308836600f..04fd7829cf39 100644 --- a/drivers/scsi/lpfc/lpfc_sli4.h +++ b/drivers/scsi/lpfc/lpfc_sli4.h | |||
@@ -431,11 +431,18 @@ enum lpfc_sge_type { | |||
431 | SCSI_BUFF_TYPE | 431 | SCSI_BUFF_TYPE |
432 | }; | 432 | }; |
433 | 433 | ||
434 | enum lpfc_sgl_state { | ||
435 | SGL_FREED, | ||
436 | SGL_ALLOCATED, | ||
437 | SGL_XRI_ABORTED | ||
438 | }; | ||
439 | |||
434 | struct lpfc_sglq { | 440 | struct lpfc_sglq { |
435 | /* lpfc_sglqs are used in double linked lists */ | 441 | /* lpfc_sglqs are used in double linked lists */ |
436 | struct list_head list; | 442 | struct list_head list; |
437 | struct list_head clist; | 443 | struct list_head clist; |
438 | enum lpfc_sge_type buff_type; /* is this a scsi sgl */ | 444 | enum lpfc_sge_type buff_type; /* is this a scsi sgl */ |
445 | enum lpfc_sgl_state state; | ||
439 | uint16_t iotag; /* pre-assigned IO tag */ | 446 | uint16_t iotag; /* pre-assigned IO tag */ |
440 | uint16_t sli4_xritag; /* pre-assigned XRI, (OXID) tag. */ | 447 | uint16_t sli4_xritag; /* pre-assigned XRI, (OXID) tag. */ |
441 | struct sli4_sge *sgl; /* pre-assigned SGL */ | 448 | struct sli4_sge *sgl; /* pre-assigned SGL */ |