Re: [PATCH 11/25] lpfc: Convert ring number to hardware queue for nvme wqe posting.

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

 



On 12/27/18 12:33 AM, James Smart wrote:
SLI4 nvme functions are passing the SLI3 ring number when posting
wqe to hardware. This should be indicating the hardware queue to
use, not the ring number.

Replace ring number with the hardware queue that should be used.

Note: SCSI avoided this issue as it utilized an older lfpc_issue_iocb
routine that properly adapts.

Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx>
Signed-off-by: James Smart <jsmart2021@xxxxxxxxx>
---
  drivers/scsi/lpfc/lpfc_crtn.h  |  4 ++--
  drivers/scsi/lpfc/lpfc_init.c  |  3 ++-
  drivers/scsi/lpfc/lpfc_nvme.c  | 11 ++++++-----
  drivers/scsi/lpfc/lpfc_nvme.h  |  3 ++-
  drivers/scsi/lpfc/lpfc_nvmet.c | 34 ++++++++++++++++++++++++++--------
  drivers/scsi/lpfc/lpfc_nvmet.h |  1 +
  drivers/scsi/lpfc/lpfc_scsi.c  |  9 +++++----
  drivers/scsi/lpfc/lpfc_scsi.h  |  3 ++-
  drivers/scsi/lpfc/lpfc_sli.c   | 26 ++++++++++++++------------
  9 files changed, 60 insertions(+), 34 deletions(-)

Should actually be folded into the patch to move to shared qp, but anyway:

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