diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-10-02 15:00:43 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-03 18:28:38 -0400 |
commit | d8b4521349274ab610d0b29384c704444e55cbca (patch) | |
tree | 5af421c4c6c262e966e2e3f37241b1cdb4fa199a /drivers/scsi/qla2xxx/qla_isr.c | |
parent | ee0ca6bab394fe41a2b4de58c4532b09a41c9165 (diff) |
[SCSI] qla2xxx: Add iIDMA support.
iIDMA (Intelligent Interleaved Direct Memory Access) allows for
the HBA hardware to send FC frames at the rate at which they can
be received by a target device. By taking advantage of the
higher link rate, the HBA can maximize bandwidth utilization in a
heterogeneous multi-speed SAN.
Within a fabric topology, port speed detection is done via a Name
Server command (GFPN_ID) followed by a Fabric Management command
(GPSC). In an FCAL/N2N topology, port speed is based on the HBA
link-rate.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index de0613135f70..5fa933cda992 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -400,7 +400,7 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint16_t *mb) | |||
400 | case MBA_LOOP_UP: /* Loop Up Event */ | 400 | case MBA_LOOP_UP: /* Loop Up Event */ |
401 | if (IS_QLA2100(ha) || IS_QLA2200(ha)) { | 401 | if (IS_QLA2100(ha) || IS_QLA2200(ha)) { |
402 | link_speed = link_speeds[0]; | 402 | link_speed = link_speeds[0]; |
403 | ha->link_data_rate = LDR_1GB; | 403 | ha->link_data_rate = PORT_SPEED_1GB; |
404 | } else { | 404 | } else { |
405 | link_speed = link_speeds[LS_UNKNOWN]; | 405 | link_speed = link_speeds[LS_UNKNOWN]; |
406 | if (mb[1] < 5) | 406 | if (mb[1] < 5) |
@@ -429,7 +429,7 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint16_t *mb) | |||
429 | } | 429 | } |
430 | 430 | ||
431 | ha->flags.management_server_logged_in = 0; | 431 | ha->flags.management_server_logged_in = 0; |
432 | ha->link_data_rate = LDR_UNKNOWN; | 432 | ha->link_data_rate = PORT_SPEED_UNKNOWN; |
433 | if (ql2xfdmienable) | 433 | if (ql2xfdmienable) |
434 | set_bit(REGISTER_FDMI_NEEDED, &ha->dpc_flags); | 434 | set_bit(REGISTER_FDMI_NEEDED, &ha->dpc_flags); |
435 | break; | 435 | break; |