Skip to content

Commit e4e268f

Browse files
Anil Gurumurthymartinkpetersen
authored andcommitted
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: 2c3dfe3 ("[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>
1 parent 4812b77 commit e4e268f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/qla2xxx/qla_attr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3304,6 +3304,7 @@ struct fc_function_template qla2xxx_transport_vport_functions = {
33043304
.show_host_node_name = 1,
33053305
.show_host_port_name = 1,
33063306
.show_host_supported_classes = 1,
3307+
.show_host_supported_speeds = 1,
33073308

33083309
.get_host_port_id = qla2x00_get_host_port_id,
33093310
.show_host_port_id = 1,

0 commit comments

Comments
 (0)