On 4/10/19, 7:16 AM, "[email protected] on behalf of Hannes
Reinecke" <[email protected] on behalf of [email protected]> 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 <[email protected]>
> ---
> 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 <[email protected]>