summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_nportdisc.c
diff options
context:
space:
mode:
authorJames Smart2018-05-25 06:08:57 +0200
committerMartin K. Petersen2018-05-29 04:40:32 +0200
commitdc19e3b4a80e0bb1e5f080473fffa0ac8c0694a6 (patch)
tree48d9b5139e2e809b4245f980e09bf0c3537939c5 /drivers/scsi/lpfc/lpfc_nportdisc.c
parentscsi: hisi_sas: Mark PHY as in reset for nexus reset (diff)
downloadkernel-qcow2-linux-dc19e3b4a80e0bb1e5f080473fffa0ac8c0694a6.tar.gz
kernel-qcow2-linux-dc19e3b4a80e0bb1e5f080473fffa0ac8c0694a6.tar.xz
kernel-qcow2-linux-dc19e3b4a80e0bb1e5f080473fffa0ac8c0694a6.zip
scsi: lpfc: Fix MDS diagnostics failure (Rx < Tx)
MDS diagnostics fail because of frame count mismatch. Unavailability of SGL is the trigger for this issue. If ELS SGL is not available to process MDS frame, IOCB is put in FCP txq but not attempted to post afterwards. So, driver stops processing incoming frames as it runs out of IOCB. lpfc_drain_txq attempts to submit IOCBS that are queued in ELS txq but MDS frames are posted to FCP WQ. Attempt to submit IOCBs that are present in FCP txq when MDS loopback is running. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
0 files changed, 0 insertions, 0 deletions