]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fcoe: Call ndo_fcoe_enable/disable to turn FCoE feature on/off in LLD
authorYi Zou <yi.zou@intel.com>
Wed, 21 Oct 2009 23:28:03 +0000 (16:28 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:33 +0000 (12:00 -0600)
commit0da3778ac742c157d8aeb01c725c9d93e7787342
treea0ac9838d71b3690c9947f77ba8aa96d84bdbfed
parent7c058684ab6afd3f8e522ad0b07b983c0b277c81
[SCSI] fcoe: Call ndo_fcoe_enable/disable to turn FCoE feature on/off in LLD

Calls ndo_fcoe_enabled() of the associated netdev upon creating the FCoE
instance to make sure LLD has all necessary resources allocated and setup
properly before passing FCoE traffic. Similarly, calls ndo_fcoe_disable()
upon destroying the FCoE instance on the associated netdev to allow the LLD
to release all allocated resources for FCoE.

Signed-off-by: Yi Zou <yi.zou@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