]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Enable common wqe_template support for both SCSI and NVMe
authorJames Smart <james.smart@broadcom.com>
Sun, 15 Nov 2020 19:26:40 +0000 (11:26 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Nov 2020 05:43:55 +0000 (00:43 -0500)
commit9e23cca24d7ba9442c65538449cc4290930bb4a8
tree76df8f3f5856a1f78daf3c4389e7545256e54320
parente8257725ca7980555af6f4d2ec2ebd884a4f5be5
scsi: lpfc: Enable common wqe_template support for both SCSI and NVMe

The driver is currently using SLI-4 WQE templates only for NVMe.  Refactor
the template and the placement of the service routine so that it can be
used by both SCSI and NVMe.

Link: https://lore.kernel.org/r/20201115192646.12977-12-james.smart@broadcom.com
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
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_nvme.c
drivers/scsi/lpfc/lpfc_sli.c