diff options
author | Chris Leech <christopher.leech@intel.com> | 2009-08-25 23:00:07 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 19:07:35 +0200 |
commit | 54b649f88eb17a29687bece4b8ad7d72d99e2d95 (patch) | |
tree | 0057186411aae1ad53268c127effa65f16f454e0 /scripts/checkversion.pl | |
parent | [SCSI] fcoe: fcoe_interface create, destroy and refcounting (diff) | |
download | linux-54b649f88eb17a29687bece4b8ad7d72d99e2d95.tar.xz linux-54b649f88eb17a29687bece4b8ad7d72d99e2d95.zip |
[SCSI] fcoe: split out per interface setup
fcoe_netdev_config() is called during initialization of a libfc instance.
Much of what was there only needs to be done once for each net_device.
The same goes for the corresponding cleanup.
The FIP controller initialization is moved to interface creation time.
Otherwise it will keep getting re-initialized for every VN_Port once NPIV is
enabled.
fcoe_if_destroy() has some reordering to deal with the changes. Receives are
not stopped until after fcoe_interface_put() is called, but transmits must be
stopped before. So there is some care to stop libfc transmits and the
transmit backlog timer, then call fcoe_interface_put which will stop receives
and cleanup the FIP controller, then the receive queues can be cleaned and the
port freed.
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 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions