* [PATCH] lpfc: Remove redundant lpfc_sli_prep_wqe() call
@ 2022-04-27 22:22 James Smart
2022-05-03 0:51 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: James Smart @ 2022-04-27 22:22 UTC (permalink / raw)
To: linux-scsi; +Cc: James Smart
Prior patch added a call to lpfc_sli_prep_wqe prior to lpfc_sli_issue_iocb.
This call should not have been added as prep_wqe is called within
the issue_iocb routine. So it's called twice now.
Remove the redundant prep call.
Fixes: 31a59f75702f ("scsi: lpfc: SLI path split: Refactor Abort paths")
Signed-off-by: James Smart <jsmart2021@gmail.com>
---
drivers/scsi/lpfc/lpfc_sli.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 71e7d209bd0b..a0ef1fede3cc 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -18690,13 +18690,11 @@ lpfc_sli4_seq_abort_rsp(struct lpfc_vport *vport,
phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]);
bf_set(wqe_cmnd, &icmd->generic.wqe_com, CMD_XMIT_BLS_RSP64_CX);
-
/* Xmit CT abts response on exchange <xid> */
lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
"1200 Send BLS cmd x%x on oxid x%x Data: x%x\n",
ctiocb->abort_rctl, oxid, phba->link_state);
- lpfc_sli_prep_wqe(phba, ctiocb);
rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, ctiocb, 0);
if (rc == IOCB_ERROR) {
lpfc_printf_vlog(vport, KERN_ERR, LOG_TRACE_EVENT,
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lpfc: Remove redundant lpfc_sli_prep_wqe() call
2022-04-27 22:22 [PATCH] lpfc: Remove redundant lpfc_sli_prep_wqe() call James Smart
@ 2022-05-03 0:51 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2022-05-03 0:51 UTC (permalink / raw)
To: James Smart, linux-scsi; +Cc: Martin K . Petersen
On Wed, 27 Apr 2022 15:22:23 -0700, James Smart wrote:
> Prior patch added a call to lpfc_sli_prep_wqe prior to lpfc_sli_issue_iocb.
> This call should not have been added as prep_wqe is called within
> the issue_iocb routine. So it's called twice now.
>
> Remove the redundant prep call.
>
>
> [...]
Applied to 5.19/scsi-queue, thanks!
[1/1] lpfc: Remove redundant lpfc_sli_prep_wqe() call
https://git.kernel.org/mkp/scsi/c/c2024e3b33ee
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-04 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27 22:22 [PATCH] lpfc: Remove redundant lpfc_sli_prep_wqe() call James Smart
2022-05-03 0:51 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.