[SCSI] lpfc 8.3.45: Incorporated support of a low-latency io path
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
2a2719d370
commit
1ba981fd3a
@@ -41,6 +41,20 @@ struct lpfc_rport_data {
|
||||
struct lpfc_nodelist *pnode; /* Pointer to the node structure. */
|
||||
};
|
||||
|
||||
struct lpfc_device_id {
|
||||
struct lpfc_name vport_wwpn;
|
||||
struct lpfc_name target_wwpn;
|
||||
uint64_t lun;
|
||||
};
|
||||
|
||||
struct lpfc_device_data {
|
||||
struct list_head listentry;
|
||||
struct lpfc_rport_data *rport_data;
|
||||
struct lpfc_device_id device_id;
|
||||
bool oas_enabled;
|
||||
bool available;
|
||||
};
|
||||
|
||||
struct fcp_rsp {
|
||||
uint32_t rspRsvd1; /* FC Word 0, byte 0:3 */
|
||||
uint32_t rspRsvd2; /* FC Word 1, byte 0:3 */
|
||||
@@ -166,3 +180,7 @@ struct lpfc_scsi_buf {
|
||||
#define LPFC_SCSI_DMA_EXT_SIZE 264
|
||||
#define LPFC_BPL_SIZE 1024
|
||||
#define MDAC_DIRECT_CMD 0x22
|
||||
|
||||
#define FIND_FIRST_OAS_LUN 0
|
||||
#define NO_MORE_OAS_LUN -1
|
||||
#define NOT_OAS_ENABLED_LUN NO_MORE_OAS_LUN
|
||||
|
Reference in New Issue
Block a user