mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
vxge: set maximal number of default RSS queues
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Cc: Jon Mason <jdmason@kudzu.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
90b1ebe7af
commit
9cbb576023
@ -3687,7 +3687,8 @@ static int __devinit vxge_config_vpaths(
|
||||
return 0;
|
||||
|
||||
if (!driver_config->g_no_cpus)
|
||||
driver_config->g_no_cpus = num_online_cpus();
|
||||
driver_config->g_no_cpus =
|
||||
netif_get_num_default_rss_queues();
|
||||
|
||||
driver_config->vpath_per_dev = driver_config->g_no_cpus >> 1;
|
||||
if (!driver_config->vpath_per_dev)
|
||||
|
Loading…
Reference in New Issue
Block a user