diff options
author | James Smart <jsmart2021@gmail.com> | 2018-03-05 12:04:05 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-03-12 21:55:23 -0400 |
commit | bd3061bab3328db40d5d27491fa07a030a12e153 (patch) | |
tree | d0766aa221739229c65e668bf8d8ea703af56243 /drivers/scsi/lpfc/lpfc_init.c | |
parent | 5fd1108517d9c75eab828e7b1d6d541eee2857f8 (diff) | |
download | blackbird-op-linux-bd3061bab3328db40d5d27491fa07a030a12e153.tar.gz blackbird-op-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.c | 1 |
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; |