Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314984
b: refs/heads/master
c: 9cbb576
h: refs/heads/master
v: v3
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Jul 5, 2012
1 parent 65cd496 commit 478dedd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90b1ebe7af2592597e7568bb203d59f4918f76ad
refs/heads/master: 9cbb5760235272564f4bb0dd7f256fb7c510a2d5
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/neterion/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 478dedd

Please sign in to comment.