scsi: mpt3sas: Added support for nvme encapsulated request message.
* Mpt3sas driver uses the NVMe Encapsulated Request message to send an NVMe command to an NVMe device attached to the IOC. * Normal I/O commands like reads and writes are passed to the controller as SCSI commands and the controller has the ability to translate the commands to NVMe equivalent. * This encapsulated NVMe command is used by applications to send direct NVMe commands to NVMe drives. Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com> Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
016d5c35e2
commit
aff39e6121
@@ -1184,6 +1184,9 @@ struct MPT3SAS_ADAPTER {
|
||||
MPT_BUILD_SG build_sg_mpi;
|
||||
MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge_mpi;
|
||||
|
||||
/* function ptr for NVMe PRP elements only */
|
||||
NVME_BUILD_PRP build_nvme_prp;
|
||||
|
||||
/* event log */
|
||||
u32 event_type[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
|
||||
u32 event_context;
|
||||
@@ -1354,6 +1357,7 @@ struct MPT3SAS_ADAPTER {
|
||||
PUT_SMID_IO_FP_HIP put_smid_fast_path;
|
||||
PUT_SMID_IO_FP_HIP put_smid_hi_priority;
|
||||
PUT_SMID_DEFAULT put_smid_default;
|
||||
PUT_SMID_DEFAULT put_smid_nvme_encap;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user