[SCSI] libfcoe: Do not sends FDISCs before FLOGI during CVL
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 9 Mar 2012 22:49:53 +0000 (14:49 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 28 Mar 2012 08:03:30 +0000 (09:03 +0100)
commit14619ea689cc0b257cf998469005d0515133d7bc
tree3f2108dfe3134ecd9840113969d60c23d4ae7257
parent5e70c4c43e559ea6a1bf1edc0eb7d284ea7f16b4
[SCSI] libfcoe: Do not sends FDISCs before FLOGI during CVL

When handling CVL with no Vx port descriptors, lports for NPIV ports are reset
before issuing the ctlr_reset. This causes FDISCs to be issued before
successful FLOGI. Fix it by resetting the controller before resetting the
lports.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fcoe/fcoe_ctlr.c