summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2011-02-25 15:03:28 -0800
committerJames Bottomley <James.Bottomley@suse.de>2011-02-28 18:34:18 -0600
commitd2f809528a3534ea295b6d855c33cbbb3369d8c9 (patch)
treea8684bca5fc993b2b2ac97bb27490b27d790a50f /drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h
parentf2f96d20708c53c6825f842beb7bed06f5f15aca (diff)
[SCSI] fcoe: fix broken fcoe interface reset
Reset using "fcoeadm -r" also needs to restart FIP before doing libfc lport reset, this is needed for new switch firmware requiring FIP solicitation before doing FLOGI again during reset. So this patch does this by doing fcoe_ctlr_link_down and then fcoe_ctlr_link_up to reset the interface. The fcoe_ctlr_link_down call path also does lport reset and then fcoe_ctlr_link_up re-starts the fabric login after doing FIP solicitation first to get reset feature working again. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h')
0 files changed, 0 insertions, 0 deletions