[SCSI] fcoe: Introduce and allocate fcoe_interface structure, 1:1 with net_device
authorChris Leech <christopher.leech@intel.com>
Tue, 25 Aug 2009 20:59:30 +0000 (13:59 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:31 +0000 (12:07 -0500)
commit014f5c3f560a336cb8ad5b9f828c85de0398e7bb
tree0b51f21ec8690a0a416e3f8c12eec8e3391b2778
parentaf7f85d95a34b04f5cf8c3b8c2d4cdd179dc1e19
[SCSI] fcoe: Introduce and allocate fcoe_interface structure, 1:1 with net_device

In preparation for NPIV support, I'm splitting the fcoe instance structure
into two to remove the assumptions about it being 1:1 with the net_device.
There will now be two structures, one which is 1:1 with the underlying
net_device and one which is allocated per virtual SCSI/FC host.

fcoe_softc is renamed to fcoe_port for the per Scsi_Host FCoE private data.

Later patches with start moving shared stuff from fcoe_port to fcoe_interface

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