On 12/27/18 12:33 AM, James Smart wrote:
The conversion to enable SCSI and NVME fc4 support ran into an
issue with NPIV support. With NVME NPIV is not currently supported,
but with SCSI it was. The driver reverted to it's lowest setting
meaning NPIV with SCSI was not allowed.

Convert the NPIV checks and implementation so that SCSI can continue
to allow NPIV support.

Signed-off-by: Dick Kennedy <dick.kenn...@broadcom.com>
Signed-off-by: James Smart <jsmart2...@gmail.com>
---
  drivers/scsi/lpfc/lpfc.h           |  3 ++-
  drivers/scsi/lpfc/lpfc_attr.c      |  4 ++--
  drivers/scsi/lpfc/lpfc_ct.c        | 16 ++++++++--------
  drivers/scsi/lpfc/lpfc_debugfs.c   |  4 ++--
  drivers/scsi/lpfc/lpfc_els.c       |  4 ++--
  drivers/scsi/lpfc/lpfc_hbadisc.c   | 36 ++++++++++++++++--------------------
  drivers/scsi/lpfc/lpfc_init.c      |  3 +++
  drivers/scsi/lpfc/lpfc_nportdisc.c |  8 ++++----
  drivers/scsi/lpfc/lpfc_scsi.c      |  2 +-
  drivers/scsi/lpfc/lpfc_vport.c     | 25 ++++++-------------------
  10 files changed, 46 insertions(+), 59 deletions(-)

Reviewed-by: Hannes Reinecke <h...@suse.com>

Cheers,

Hannes

Reply via email to