diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-09-11 23:00:29 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:55:01 -0400 |
commit | b9804972f52c2e6d60ddfa3a892c3628ed0aa846 (patch) | |
tree | 59dabe8dc4416c91d68392c1578e9603b5caa5c1 /drivers/net/ixgbe/ixgbe_ethtool.c | |
parent | 7f8218752a76bb1f70b5e4e918f49bc5bf33275a (diff) |
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, | |||
947 | } | 947 | } |
948 | 948 | ||
949 | 949 | ||
950 | static struct ethtool_ops ixgbe_ethtool_ops = { | 950 | static const struct ethtool_ops ixgbe_ethtool_ops = { |
951 | .get_settings = ixgbe_get_settings, | 951 | .get_settings = ixgbe_get_settings, |
952 | .set_settings = ixgbe_set_settings, | 952 | .set_settings = ixgbe_set_settings, |
953 | .get_drvinfo = ixgbe_get_drvinfo, | 953 | .get_drvinfo = ixgbe_get_drvinfo, |