Skip to contentSkip to conversation

scsi_transport_fc: Add support for 25Gbit speed

PATCH In review James Smart 3 participants 3 messages Apr 2, 2015 – Apr 9, 2015 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi_transport_fc: Add support for 25Gbit speed

Add FC transport support for 25Gbit speed

---
 drivers/scsi/scsi_transport_fc.c | 1 +
 include/scsi/scsi_transport_fc.h | 1 +
 2 files changed, 2 insertions(+)
drivers/scsi/scsi_transport_fc.c +1 -0
index 5d6f348..24eaaf6 100644
@@ -265,6 +265,7 @@ static const struct {
 	{ FC_PORTSPEED_40GBIT,		"40 Gbit" },
 	{ FC_PORTSPEED_50GBIT,		"50 Gbit" },
 	{ FC_PORTSPEED_100GBIT,		"100 Gbit" },
+	{ FC_PORTSPEED_25GBIT,		"25 Gbit" },
 	{ FC_PORTSPEED_NOT_NEGOTIATED,	"Not Negotiated" },
 };
 fc_bitfield_name_search(port_speed, fc_port_speed_names)
include/scsi/scsi_transport_fc.h +1 -0
index 007a0bc..784bc2c 100644
@@ -135,6 +135,7 @@ enum fc_vport_state {
 #define FC_PORTSPEED_40GBIT		0x100
 #define FC_PORTSPEED_50GBIT		0x200
 #define FC_PORTSPEED_100GBIT		0x400
+#define FC_PORTSPEED_25GBIT		0x800
 #define FC_PORTSPEED_NOT_NEGOTIATED	(1 << 15) /* Speed not established */
 
 /*
Signature · 1 line
1.7.11.7
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · James Smart

Add FC transport support for 25Gbit speed

Cheers,

Hannes

Signature · 9 lines
Dr. Hannes Reinecke		               zSeries & Storage
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reviewed-by on v1 1/1
#2 lore raw
In reply to James Smart
Quoted 25 lines · James Smart

Add FC transport support for 25Gbit speed

---
 drivers/scsi/scsi_transport_fc.c | 1 +
 include/scsi/scsi_transport_fc.h | 1 +
 2 files changed, 2 insertions(+)
drivers/scsi/scsi_transport_fc.c +1 -0
index 5d6f348..24eaaf6 100644
@@ -265,6 +265,7 @@ static const struct {
 	{ FC_PORTSPEED_40GBIT,		"40 Gbit" },
 	{ FC_PORTSPEED_50GBIT,		"50 Gbit" },
 	{ FC_PORTSPEED_100GBIT,		"100 Gbit" },
+	{ FC_PORTSPEED_25GBIT,		"25 Gbit" },
 	{ FC_PORTSPEED_NOT_NEGOTIATED,	"Not Negotiated" },
 };
 fc_bitfield_name_search(port_speed, fc_port_speed_names)
include/scsi/scsi_transport_fc.h +0 -0
index 007a0bc..784bc2c 100644

include/scsi/scsi_transport_fc.h enum fc_vport_state { · line 141

Quoted 7 lines
include/scsi/scsi_transport_fc.h +1 -0
@@ -135,6 +135,7 @@ enum fc_vport_state {
 #define FC_PORTSPEED_40GBIT		0x100
 #define FC_PORTSPEED_50GBIT		0x200
 #define FC_PORTSPEED_100GBIT		0x400
+#define FC_PORTSPEED_25GBIT		0x800
 #define FC_PORTSPEED_NOT_NEGOTIATED	(1 << 15) /* Speed not established */
 
 /*