]> Git Repo - linux.git/commit
scsi: lpfc: Correct BDE DMA address assignment for GEN_REQ_WQE
authorJames Smart <[email protected]>
Fri, 6 May 2022 20:55:48 +0000 (13:55 -0700)
committerMartin K. Petersen <[email protected]>
Wed, 11 May 2022 01:44:04 +0000 (21:44 -0400)
commit7752662071053adcdb6b6e7853834205dd60e1c0
tree156dee894194da71ed6ee17f6a5f13dfcb74582b
parentcc28fac16ab7152168be8bee76708df9d65efd71
scsi: lpfc: Correct BDE DMA address assignment for GEN_REQ_WQE

Garbage FCoE CT frames are transmitted on the wire because of bad DMA ptr
addresses filled in the GEN_REQ_WQE.

The __lpfc_sli_prep_gen_req_s4() routine is using the wrong buffer for the
payload address. Change the DMA buffer assignment from the bmp buffer to
the bpl buffer.

Link: https://lore.kernel.org/r/[email protected]
Fixes: 61910d6a5243 ("scsi: lpfc: SLI path split: Refactor CT paths")
Co-developed-by: Justin Tee <[email protected]>
Signed-off-by: Justin Tee <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/lpfc/lpfc_sli.c
This page took 0.041754 seconds and 4 git commands to generate.