scsi: lpfc: SLI path split: Introduce lpfc_prep_wqe
authorJames Smart <jsmart2021@gmail.com>
Fri, 25 Feb 2022 02:22:54 +0000 (18:22 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 28 Feb 2022 03:16:37 +0000 (22:16 -0500)
commit7a9d9ea5f3d8f9ea91aad4fc579117ecdf0fc683
tree22cfcc217fbd95461be3b0be65ced4bd766d5294
parentfecf10070b4402285101d80b6170a39b4df0c0f8
scsi: lpfc: SLI path split: Introduce lpfc_prep_wqe

Introduce lpfc_prep_wqe routine.

The lpfc_prep_wqe() routine is used with lpfc_sli_issue_iocb() and
lpfc_sli_issue_iocb_wait(). The routine performs additional SLI-4 wqe field
setting that the generic routines did not perform as they kept their
actions compatible with both SLI3 and SLI4.

Link: https://lore.kernel.org/r/20220225022308.16486-4-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_sli.c