On 4/10/19, 7:16 AM, "linux-scsi-owner@xxxxxxxxxxxxxxx on behalf of Hannes Reinecke" <linux-scsi-owner@xxxxxxxxxxxxxxx on behalf of hare@xxxxxxx> 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 <hare@xxxxxxxx> > --- > 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: Giridhar Malavali <gmalavali@xxxxxxxxxxx>