]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfcoe: retry rejected FLOGI to another FCF if possible
authorJoe Eykholt <jeykholt@cisco.com>
Wed, 1 Dec 2010 00:19:56 +0000 (16:19 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:32 +0000 (12:24 -0600)
commit2dd656006611002fa76b1054315e6d162871e657
tree97ac82ba7b14821472f81400f8d1a7230e037cb7
parent2716f9e31f097f2fe6d158016ef52c8b3071bfef
[SCSI] libfcoe: retry rejected FLOGI to another FCF if possible

Switches using multiple-FCFs may reject FLOGI in order to
balance the load between multiple FCFs.  Even though the FCF
was available, it may have more load at the point we actually
send the FLOGI.

If the FLOGI fails, select a different FCF
if possible, among those with the same priority.  If no other
FCF is available, just deliver the reject to libfc for retry.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c
include/scsi/libfcoe.h