Re: [PATCH 1/6] lpfc: Fix MDS diagnostics failure (Rx < Tx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 May 2018 21:08:57 -0700
James Smart <jsmart2021@xxxxxxxxx> 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 <dick.kennedy@xxxxxxxxxxxx>
> Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx>
> ---
>  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 <hare@xxxxxxxx>

Cheers,

Hannes




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux