[SCSI] qla2xxx: Extra loopback error handling for ISP83xx.
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 8 Feb 2013 06:57:51 +0000 (01:57 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 12:39:56 +0000 (12:39 +0000)
commit67b2a31f517a43631af218d146e39f4e502b3e83
tree03f9e03ce629a9eb896b285260d7baaa447e383b
parentb00ee7d770abbe1e63df74eada0376c75ceb2daf
[SCSI] qla2xxx: Extra loopback error handling for ISP83xx.

Add the following error handling for loopback diagnostic mode with ISP83xx:

1. If we do not receive an MBA_DCBX_COMPLETE after our initial set port
configuration command, try to reset the port back into normal operation.
If that fails, take a FCoE dump and then reset the chip.
2. After completing the loopback diagnostic operation, if the reset of the port
back into normal operation fails then reset the port so we take a FCoE dump
and then reset the chip.
3. When we receive an IDC notification and the requested operation is loopback
extend the loop down timer so the link does not appear to down for an
extended period of time.

[jejb: fix checkpatch issue]
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_isr.c
This page took 0.027564 seconds and 5 git commands to generate.