Skip to content

Commit 624f28b

Browse files
Chad DupuisJames Bottomley
authored andcommitted
[SCSI] scsi_transport_fc: Add 32Gbps speed definition.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
1 parent 3b1bef6 commit 624f28b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/scsi/scsi_transport_fc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ static const struct {
261261
{ FC_PORTSPEED_10GBIT, "10 Gbit" },
262262
{ FC_PORTSPEED_8GBIT, "8 Gbit" },
263263
{ FC_PORTSPEED_16GBIT, "16 Gbit" },
264+
{ FC_PORTSPEED_32GBIT, "32 Gbit" },
264265
{ FC_PORTSPEED_NOT_NEGOTIATED, "Not Negotiated" },
265266
};
266267
fc_bitfield_name_search(port_speed, fc_port_speed_names)

include/scsi/scsi_transport_fc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ enum fc_vport_state {
130130
#define FC_PORTSPEED_4GBIT 8
131131
#define FC_PORTSPEED_8GBIT 0x10
132132
#define FC_PORTSPEED_16GBIT 0x20
133+
#define FC_PORTSPEED_32GBIT 0x40
133134
#define FC_PORTSPEED_NOT_NEGOTIATED (1 << 15) /* Speed not established */
134135

135136
/*

0 commit comments

Comments
 (0)