scsi: mpt3sas: Introduce struct mpt3sas_nvme_cmd
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 15 Jun 2018 21:41:57 +0000 (14:41 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 Jun 2018 02:02:25 +0000 (22:02 -0400)
commit84203b3561726be0e4c4fbb2db90c9d7e6f59314
tree83054a2d7a78512a98ef75a93e45ca0cd2c5a8c2
parenteb0c7af26beb1cf13b30fc51ea05dd1977df2061
scsi: mpt3sas: Introduce struct mpt3sas_nvme_cmd

Make _base_build_nvme_prp() easier to read by introducing a structure
to access NVMe command fields.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Sathya Prakash <sathya.prakash@broadcom.com>
Cc: Chaitra P B <chaitra.basappa@broadcom.com>
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h