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>
This commit is contained in:
Jesse Brandeburg
2008-09-11 20:00:29 -07:00
committed by Jeff Garzik
parent 7f8218752a
commit b9804972f5
2 changed files with 45 additions and 45 deletions

View File

@@ -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,