]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc7453aa72845f0bbff4af6266b6819925a5a6adb
tree722511a465f5a71f6ee74d9bf02c4b709d88fa85
parentfeae6f2456533283aea96b56a752211c8f98de71
[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