On Wed, 2019-04-10 at 16:16 +0200, Hannes Reinecke wrote:
> Currently the FC-NVMe driver is leverating the SCSI FC transport
> class to access the remote ports. Which means that all FC-NVMe
> remote ports will be visible to the fc transport layer, but due
> to missing definitions the port roles will always be 'unknown'.
> This patch adds the missing definitions to the fc transport class
> to that the port roles are correctly displayed.
> 
> Signed-off-by: Hannes Reinecke <h...@suse.com>
> ---
>  drivers/nvme/host/fc.c           |  2 +-
>  drivers/scsi/lpfc/lpfc_hbadisc.c | 10 ++++++++--
>  drivers/scsi/qla2xxx/qla_def.h   |  5 ++++-
>  drivers/scsi/qla2xxx/qla_init.c  | 15 +++++++++++----
>  drivers/scsi/qla2xxx/qla_mbx.c   |  8 +++++++-
>  drivers/scsi/scsi_transport_fc.c |  3 +++
>  include/linux/nvme-fc-driver.h   |  6 ------
>  include/scsi/scsi_transport_fc.h |  3 +++
>  8 files changed, 37 insertions(+), 15 deletions(-)
> 

Reviewed-by: Ewan D. Milne <emi...@redhat.com>

Reply via email to