summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Smart2018-03-05 21:04:05 +0100
committerMartin K. Petersen2018-03-13 02:55:23 +0100
commitbd3061bab3328db40d5d27491fa07a030a12e153 (patch)
treed0766aa221739229c65e668bf8d8ea703af56243 /drivers/scsi/lpfc/lpfc_init.c
parentscsi: lpfc: Streamline NVME Initiator WQE setup (diff)
downloadkernel-qcow2-linux-bd3061bab3328db40d5d27491fa07a030a12e153.tar.gz
kernel-qcow2-linux-bd3061bab3328db40d5d27491fa07a030a12e153.tar.xz
kernel-qcow2-linux-bd3061bab3328db40d5d27491fa07a030a12e153.zip
scsi: lpfc: Streamline NVME Targe6t WQE setup
To reduce latency when initializing WQE content, created templates for the most common wqes. This reduces the number of operations taken to set the content. It's not a lot of speed up, but every bit helps. This patch updates the NVME target path. [mkp: fixed typo] 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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 68adea8e0a04..17551540a1c5 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -12584,6 +12584,7 @@ lpfc_init(void)
return -ENOMEM;
}
lpfc_nvme_cmd_template();
+ lpfc_nvmet_cmd_template();
/* Initialize in case vector mapping is needed */
lpfc_used_cpu = NULL;