On Thu, 24 May 2018 21:08:57 -0700
James Smart <[email protected]> wrote:

> 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 <[email protected]>
> Signed-off-by: James Smart <[email protected]>
> ---
>  drivers/scsi/lpfc/lpfc_hbadisc.c |  3 +--
>  drivers/scsi/lpfc/lpfc_sli.c     | 19 ++++++++++++++++---
>  2 files changed, 17 insertions(+), 5 deletions(-)
> 

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes

Reply via email to