[Open-FCoE] [PATCH V2 00/13] cleanups in preparation for NPIV support

Chris Leech christopher.leech at intel.com
Wed Jul 8 17:39:30 UTC 2009


The following patches modify the fcoe module, primarily to prepare for
supporting NPIV and more than one libfc lport instance per network interface.

These include changes to address review feedback from the original posting.

The biggest of those changes is in the use of the mutex around create and
destroy, it is now also held while lports are destroyed from the module exit
function.  Also there are checks added to create and destroy to ensure that
the fcoe module has been initialized and is not about to be removed, as the
module parameter sysfs files are still writable while the exit function is
being run.

---

Chris Leech (13):
      fcoe: Fix module ref count bug by adding NETDEV UNREGISTER handling
      fcoe: move the host-list add/remove to keep out VN_Ports
      fcoe: add mutex to protect create and destroy
      fcoe: initialize FIP controller at interface creation time
      fcoe: split out per interface setup from fcoe_netdev_config()
      fcoe: fcoe_interface create, destroy and refcounting
      fcoe: remove fcoe_interface->priv pointer
      fcoe: move offload exchange manager pointer from fcoe_port to fcoe_interface
      fcoe: move FIP controller from fcoe_port to fcoe_interface
      fcoe: move packet handlers from fcoe_port to fcoe_interface
      fcoe: move real_dev and phys_dev to fcoe_interface
      fcoe: Introduce and allocate fcoe_interface structure, 1:1 with net_device
      fcoe: interface changes to fcoe_if_create and fcoe_if_destroy


 drivers/scsi/fcoe/fcoe.c |  801 ++++++++++++++++++++++++----------------------
 drivers/scsi/fcoe/fcoe.h |   28 +-
 2 files changed, 445 insertions(+), 384 deletions(-)

-- 
Signature



More information about the devel mailing list