scsi_transport_fc: Add support for 25Gbit speed
authorJames Smart <james.smart@emulex.com>
Thu, 2 Apr 2015 19:50:52 +0000 (15:50 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 14:40:32 +0000 (07:40 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/scsi_transport_fc.c
include/scsi/scsi_transport_fc.h

index 5d6f348eb3d8590361327d21dc9ddb2eddf49d8e..24eaaf66af710042d9a96c71c93b5930721a5a9e 100644 (file)
@@ -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)
index 007a0bc01b74a0a8779d759db6c091fa05f42404..784bc2c0929fe0fcdee2e94195c3000fa4c09378 100644 (file)
@@ -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 */
 
 /*