diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2010-11-30 16:20:07 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 12:24:33 -0600 |
commit | 981c1154b240ee77133a478fcd3853ac18111672 (patch) | |
tree | 5df76658bb23e1c5733715a5d6c369139f17dbea /include/scsi/libfc.h | |
parent | 9069f5c433e402be5707f37f3d0dfb376659c1e4 (diff) |
[SCSI] libfcoe: reorder FCF list to put latest advertiser first
When there are several FCFs to choose from, the one most likely
to accept a FLOGI on certian switches is the one that last
answered a multicast solicit.
So, when receiving an advertisement, move the FCF to the front
of the list so that it gets chosen first among those with the
same priority.
Without this, more FLOGIs need to be sent in a test with
multiple FCFs and a switch in NPV mode, but it still
eventually finds one that accepts the FLOGI.
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>
Diffstat (limited to 'include/scsi/libfc.h')
0 files changed, 0 insertions, 0 deletions