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:

committed by
Jeff Garzik

parent
7f8218752a
commit
b9804972f5
@@ -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,
|
||||
|
Reference in New Issue
Block a user