scsi_transport_fc: Add support for 25Gbit speed
PATCH 1/1 scsi_transport_fc: Add support for 25Gbit speed
Add FC transport support for 25Gbit speed
Signed-off-by James Smart <[email protected]>
--- 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
@@ -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
@@ -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
Quoted 3 lines · James Smart
Add FC transport support for 25Gbit speed
Signed-off-by James Smart <[email protected]>
Reviewed-by Hannes Reinecke <[email protected]>
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
Quoted 25 lines · James Smart
Add FC transport support for 25Gbit speed
Signed-off-by James Smart <[email protected]>--- 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@@ -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
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 */ /*
Reviewed-by Ewan D. Milne <[email protected]>