]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: scsi_transport_fc: nvme: display FC-NVMe port roles
authorHannes Reinecke <hare@suse.de>
Wed, 10 Apr 2019 14:16:19 +0000 (16:16 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 13 Apr 2019 00:09:34 +0000 (20:09 -0400)
commit8b803d23ced7b0211c47877cd0afc62d9f9c9e74
tree1df10be881c05a3453b3561bc4ef5fb40f79d518
parent290b40908a532a13e01e1e1fc43031901cf5b95d
scsi: scsi_transport_fc: nvme: display FC-NVMe port roles

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@suse.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Giridhar Malavali <gmalavali@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/fc.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/scsi_transport_fc.c
include/linux/nvme-fc-driver.h
include/scsi/scsi_transport_fc.h