OSDN Git Service

scsi: lpfc: Streamline NVME Targe6t WQE setup
authorJames Smart <jsmart2021@gmail.com>
Mon, 5 Mar 2018 20:04:05 +0000 (12:04 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Mar 2018 01:55:23 +0000 (21:55 -0400)
commitbd3061bab3328db40d5d27491fa07a030a12e153
treed0766aa221739229c65e668bf8d8ea703af56243
parent5fd1108517d9c75eab828e7b1d6d541eee2857f8
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>
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_nvmet.c