[SCSI] fcoe: move offload exchange manager pointer from fcoe_port to fcoe_interface
authorChris Leech <christopher.leech@intel.com>
Tue, 25 Aug 2009 20:59:51 +0000 (13:59 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:33 +0000 (12:07 -0500)
commit991cbb6082db3025bd82908eb9ee2d2920be2114
tree74f2a5f22c0a9bb20b5430e7019d24723988b4ff
parent3fe9a0badae7fa2eb35eff4f07e851fbd25e3d4f
[SCSI] fcoe: move offload exchange manager pointer from fcoe_port to fcoe_interface

The offload EM pointer is only used when setting up a new libfc instance, but
as it's designed to be shared among NPIV VN_Ports it should be tracked in
fcoe_interface.

With the host-list changed to track fcoe_interfaces as well, this is needed
before we can remove the priv pointer from that structure (which is only there
to help in the transition, and stops making sense once NPIV is enabled).

Signed-off-by: Chris Leech <christopher.leech@intel.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
drivers/scsi/fcoe/fcoe.h