diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-07-01 05:18:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 12:06:44 +0200 |
commit | 9cbb5760235272564f4bb0dd7f256fb7c510a2d5 (patch) | |
tree | c076c27cfebe4234fedd9a102be9983e399d1ae2 /drivers/net/ethernet/neterion/vxge | |
parent | mlx4: set maximal number of default RSS queues (diff) | |
download | linux-9cbb5760235272564f4bb0dd7f256fb7c510a2d5.tar.xz linux-9cbb5760235272564f4bb0dd7f256fb7c510a2d5.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/neterion/vxge')
-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( 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) |