scsi: lpfc: Streamline NVME Initiator WQE setup
To reduce latency when initializing WQE content, create 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 initiator 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>
This commit is contained in:
committed by
Martin K. Petersen
parent
205e8240a1
commit
5fd1108517
@ -12583,6 +12583,7 @@ lpfc_init(void)
|
||||
fc_release_transport(lpfc_transport_template);
|
||||
return -ENOMEM;
|
||||
}
|
||||
lpfc_nvme_cmd_template();
|
||||
|
||||
/* Initialize in case vector mapping is needed */
|
||||
lpfc_used_cpu = NULL;
|
||||
|
Reference in New Issue
Block a user