[SCSI] libfcoe: update FIP FCF announcements
authorJoe Eykholt <jeykholt@cisco.com>
Wed, 1 Dec 2010 00:19:40 +0000 (16:19 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:28 +0000 (12:24 -0600)
commit69316ee2e375c5af0cf1f8d2d30f9aa277f0b454
tree1bc29c06d5aa9e73f71db1a5dfe8527677b3a94e
parentb5fe5e953c65cd0ec4e9ffd001072700e5b89317
[SCSI] libfcoe: update FIP FCF announcements

Move the announcement code to a separate function for reuse in
a forthcoming patch.

For messages regarding FCF timeout and selection, use the
previously-announced FCF MAC address (dest_addr) in the fcoe_ctlr struct.
Only print (announce) the FCF if it is new.   Print MAC for
timed-out or deselected FCFs.

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