diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-09-12 05:00:29 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-25 00:55:01 +0200 |
commit | b9804972f52c2e6d60ddfa3a892c3628ed0aa846 (patch) | |
tree | 59dabe8dc4416c91d68392c1578e9603b5caa5c1 /drivers/net/ixgbe/ixgbe_ethtool.c | |
parent | ixgbe: refresh the ixgbe_down function (diff) | |
download | linux-b9804972f52c2e6d60ddfa3a892c3628ed0aa846.tar.xz linux-b9804972f52c2e6d60ddfa3a892c3628ed0aa846.zip |
ixgbe: move set_num_queues and call it after msix failure
This is partial preparation for a future patch which will extend
ixgbe_set_num_queues
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_ethtool.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index ff4fac34a171..020b0c7c195f 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c @@ -947,7 +947,7 @@ static int ixgbe_set_coalesce(struct net_device *netdev, } -static struct ethtool_ops ixgbe_ethtool_ops = { +static const struct ethtool_ops ixgbe_ethtool_ops = { .get_settings = ixgbe_get_settings, .set_settings = ixgbe_set_settings, .get_drvinfo = ixgbe_get_drvinfo, |