aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe.h
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@intel.com>2009-08-25 16:59:51 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 13:07:33 -0400
commit991cbb6082db3025bd82908eb9ee2d2920be2114 (patch)
tree74f2a5f22c0a9bb20b5430e7019d24723988b4ff /drivers/scsi/fcoe/fcoe.h
parent3fe9a0badae7fa2eb35eff4f07e851fbd25e3d4f (diff)
[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>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.h')
-rw-r--r--drivers/scsi/fcoe/fcoe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe.h b/drivers/scsi/fcoe/fcoe.h
index 5b190b5fea3f..26e859574604 100644
--- a/drivers/scsi/fcoe/fcoe.h
+++ b/drivers/scsi/fcoe/fcoe.h
@@ -86,6 +86,7 @@ struct fcoe_interface {
86 struct packet_type fcoe_packet_type; 86 struct packet_type fcoe_packet_type;
87 struct packet_type fip_packet_type; 87 struct packet_type fip_packet_type;
88 struct fcoe_ctlr ctlr; 88 struct fcoe_ctlr ctlr;
89 struct fc_exch_mgr *oem; /* offload exchange manager */
89}; 90};
90 91
91/* 92/*
@@ -94,7 +95,6 @@ struct fcoe_interface {
94 */ 95 */
95struct fcoe_port { 96struct fcoe_port {
96 struct fcoe_interface *fcoe; 97 struct fcoe_interface *fcoe;
97 struct fc_exch_mgr *oem; /* offload exchange manger */
98 struct sk_buff_head fcoe_pending_queue; 98 struct sk_buff_head fcoe_pending_queue;
99 u8 fcoe_pending_queue_active; 99 u8 fcoe_pending_queue_active;
100 struct timer_list timer; /* queue timer */ 100 struct timer_list timer; /* queue timer */