summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAnil Gurumurthy <agurumurthy@marvell.com>2024-11-15 14:03:12 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2024-12-04 19:22:59 +0100
commite4e268f898c8a08f0a1188677e15eadbc06e98f6 (patch)
treeb102b2de236c4fcacb432e135c4fc179ebd2b799 /drivers/scsi
parentscsi: qla2xxx: Fix NVMe and NPIV connect issue (diff)
downloadlinux-e4e268f898c8a08f0a1188677e15eadbc06e98f6.tar.xz
linux-e4e268f898c8a08f0a1188677e15eadbc06e98f6.zip
scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
The fc_function_template for vports was missing the .show_host_supported_speeds. The base port had the same. Add .show_host_supported_speeds to the vport template as well. Cc: stable@vger.kernel.org Fixes: 2c3dfe3f6ad8 ("[SCSI] qla2xxx: add support for NPIV") Signed-off-by: Anil Gurumurthy <agurumurthy@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Link: https://lore.kernel.org/r/20241115130313.46826-7-njavali@marvell.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_attr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index 2810608acd96..e6ece30c4348 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -3304,6 +3304,7 @@ struct fc_function_template qla2xxx_transport_vport_functions = {
.show_host_node_name = 1,
.show_host_port_name = 1,
.show_host_supported_classes = 1,
+ .show_host_supported_speeds = 1,
.get_host_port_id = qla2x00_get_host_port_id,
.show_host_port_id = 1,