Skip to content

Commit

Permalink
qla2x00t-32gbit: Supported speed displayed incorrectly for VPorts
Browse files Browse the repository at this point in the history
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: [email protected]
Fixes: 2c3dfe3f6ad8 ("[SCSI] qla2xxx: add support for NPIV")
Signed-off-by: Anil Gurumurthy <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
[ commit e4e268f898c8 upstream ]
  • Loading branch information
lnocturno committed Dec 28, 2024
1 parent a9cbb4e commit e711206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qla2x00t-32gbit/qla_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3382,6 +3382,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,
Expand Down

0 comments on commit e711206

Please sign in to comment.