]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: Add support for the net_device_ops.ndo_fcoe_enable/disable to 82599
authorYi Zou <yi.zou@intel.com>
Mon, 31 Aug 2009 12:32:14 +0000 (12:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2009 08:24:25 +0000 (01:24 -0700)
commit8450ff8cd7fba6e78c07d7c14bf4dc582f8a6c3d
tree5307a571506bef42e4f228a5febb3a3f6516769b
parent0af46d997fcbfd25a9e166c2431bfebc03720a36
ixgbe: Add support for the net_device_ops.ndo_fcoe_enable/disable to 82599

This adds support to the net_device_ops.ndo_fcoe_enable/disable for 82599. This
consequently allows us to dynamically turn FCoE offload feature on or off
upon incoming calls to ndo_fcoe_enable/disable. When this happens, FCoE offload
features are enabled/disabled accordingly, and this is regardless of whether
DCB being turned on or not.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_dcb_nl.c
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c