]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libfcoe: Handle CVL while waiting to select an FCF
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 5 Feb 2013 07:00:20 +0000 (23:00 -0800)
committerRobert Love <robert.w.love@intel.com>
Tue, 12 Feb 2013 01:38:35 +0000 (17:38 -0800)
commitb2593cbe18c4f50c9acacd88860b051f567654d7
treeacd48e0b939a8d170e5beee00056c5cb4a430209
parent94aa743a2af455ee3bd9fc3410dff82f6abf4522
libfcoe: Handle CVL while waiting to select an FCF

When a CVL is received while we wait to select best FCF, we drop it
without handling it. This causes initiator and the switch to go
out-of-sync. Initiator proceeds selecting one of the FCFs and tries to
send FIP FLOGI. However the switch may reject the FLOGI, as it has
cleared its internal state, and expects the initiator to start FIP
discovery protocol. Fix this condition by resetting the fcoe
controller.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Reviewed-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/fcoe/fcoe_ctlr.c