diff options
author | Yi Zou <yi.zou@intel.com> | 2009-08-31 08:32:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:24:25 -0400 |
commit | 8450ff8cd7fba6e78c07d7c14bf4dc582f8a6c3d (patch) | |
tree | 5307a571506bef42e4f228a5febb3a3f6516769b /drivers/net/ixgbe/ixgbe_main.c | |
parent | 0af46d997fcbfd25a9e166c2431bfebc03720a36 (diff) |
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>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 7e964a689883..30a58fbbeed5 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -5377,6 +5377,8 @@ static const struct net_device_ops ixgbe_netdev_ops = { | |||
5377 | #ifdef IXGBE_FCOE | 5377 | #ifdef IXGBE_FCOE |
5378 | .ndo_fcoe_ddp_setup = ixgbe_fcoe_ddp_get, | 5378 | .ndo_fcoe_ddp_setup = ixgbe_fcoe_ddp_get, |
5379 | .ndo_fcoe_ddp_done = ixgbe_fcoe_ddp_put, | 5379 | .ndo_fcoe_ddp_done = ixgbe_fcoe_ddp_put, |
5380 | .ndo_fcoe_enable = ixgbe_fcoe_enable, | ||
5381 | .ndo_fcoe_disable = ixgbe_fcoe_disable, | ||
5380 | #endif /* IXGBE_FCOE */ | 5382 | #endif /* IXGBE_FCOE */ |
5381 | }; | 5383 | }; |
5382 | 5384 | ||