[SCSI] fcoe: save gateway address when receiving FLOGI request
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 13 Mar 2010 00:08:02 +0000 (16:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:36 +0000 (09:23 -0500)
commit7d65b0df6c5951271cd368170bca8601aa2e65c7
tree722511a465f5a71f6ee74d9bf02c4b709d88fa85
parente49bf6145f50da2d95f9fab605ce74f8fb44cb16
[SCSI] fcoe: save gateway address when receiving FLOGI request

In point-to-point mode, we need to save the source MAC
from received FLOGI requests to use as the destination MAC
for all outgoing frames.  We stopped doing that at some point.

Use the lport_set_port_id method to catch incoming FLOGI frames
and pass them to fcoe_ctlr_recv_flogi() so it can save the source MAC.

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/fcoe.c