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>
Showing
- drivers/scsi/lpfc/lpfc_crtn.h 4 additions, 1 deletiondrivers/scsi/lpfc/lpfc_crtn.h
- drivers/scsi/lpfc/lpfc_init.c 1 addition, 1 deletiondrivers/scsi/lpfc/lpfc_init.c
- drivers/scsi/lpfc/lpfc_nvme.c 3 additions, 130 deletionsdrivers/scsi/lpfc/lpfc_nvme.c
- drivers/scsi/lpfc/lpfc_sli.c 126 additions, 0 deletionsdrivers/scsi/lpfc/lpfc_sli.c
Loading
Please register or sign in to comment