diff options
Diffstat (limited to 'drivers/net/ethernet/neterion')
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c index 2578eb1f025d..2fd1edbc5e0e 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-main.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c | |||
@@ -3687,7 +3687,8 @@ static int __devinit vxge_config_vpaths( | |||
3687 | return 0; | 3687 | return 0; |
3688 | 3688 | ||
3689 | if (!driver_config->g_no_cpus) | 3689 | if (!driver_config->g_no_cpus) |
3690 | driver_config->g_no_cpus = num_online_cpus(); | 3690 | driver_config->g_no_cpus = |
3691 | netif_get_num_default_rss_queues(); | ||
3691 | 3692 | ||
3692 | driver_config->vpath_per_dev = driver_config->g_no_cpus >> 1; | 3693 | driver_config->vpath_per_dev = driver_config->g_no_cpus >> 1; |
3693 | if (!driver_config->vpath_per_dev) | 3694 | if (!driver_config->vpath_per_dev) |