OSDN Git Service

[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)
commitb7a727f1af953b00352d3a4b6c458c6e2872f94b
treea0ac9838d71b3690c9947f77ba8aa96d84bdbfed
parentd37322a43ebac79eef417149f5696390cf8872db
[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