mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
scsi_transport_fc: Add support for 25Gbit speed
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>
This commit is contained in:
parent
eef77801b5
commit
c749e6bca5
@ -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)
|
||||
|
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user