summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_iscsi.c
diff options
context:
space:
mode:
authorJitendra Bhivare2016-01-20 09:40:57 +0100
committerMartin K. Petersen2016-02-24 03:27:02 +0100
commitf9e4fa4619f913eaab544e17a2394f1efac3c86c (patch)
tree2cbdfba5452697bb2f1a656584360c83b4a21b20 /drivers/scsi/scsi_transport_iscsi.c
parentbe2iscsi: Fix IOPOLL implementation (diff)
downloadkernel-qcow2-linux-f9e4fa4619f913eaab544e17a2394f1efac3c86c.tar.gz
kernel-qcow2-linux-f9e4fa4619f913eaab544e17a2394f1efac3c86c.tar.xz
kernel-qcow2-linux-f9e4fa4619f913eaab544e17a2394f1efac3c86c.zip
scsi_transport_iscsi: Add 25G and 40G speed definition
iscsi_port_speed and iscsi_port_speed_names have new entries for 25Gbps and 40Gbps link speeds. Signed-off-by: Jitendra Bhivare <jitendra.bhivare@avagotech.com> Reviewed-by: Hannes Reinicke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r--drivers/scsi/scsi_transport_iscsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index e4b3d8f4fd85..441481623fb9 100644
--- a/drivers/scsi/scsi_transport_iscsi.c
+++ b/drivers/scsi/scsi_transport_iscsi.c
@@ -4308,6 +4308,8 @@ static const struct {
{ISCSI_PORT_SPEED_100MBPS, "100 Mbps" },
{ISCSI_PORT_SPEED_1GBPS, "1 Gbps" },
{ISCSI_PORT_SPEED_10GBPS, "10 Gbps" },
+ {ISCSI_PORT_SPEED_25GBPS, "25 Gbps" },
+ {ISCSI_PORT_SPEED_40GBPS, "40 Gbps" },
};
char *iscsi_get_port_speed_name(struct Scsi_Host *shost)