From: Yuval Mintz Date: Sun, 1 Jul 2012 03:18:57 +0000 (+0000) Subject: tg3: set maximal number of default RSS queues X-Git-Tag: v3.6-rc1~125^2~296 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=118008784965003307ea164370094c7d0810546e;p=profile%2Fivi%2Fkernel-x86-ivi.git tg3: set maximal number of default RSS queues Signed-off-by: Yuval Mintz Signed-off-by: Eilon Greenstein Cc: Matt Carlson Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index e47ff8b..6cbab03 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -9908,7 +9908,7 @@ static bool tg3_enable_msix(struct tg3 *tp) int i, rc; struct msix_entry msix_ent[tp->irq_max]; - tp->irq_cnt = num_online_cpus(); + tp->irq_cnt = netif_get_num_default_rss_queues(); if (tp->irq_cnt > 1) { /* We want as many rx rings enabled as there are cpus. * In multiqueue MSI-X mode, the first MSI-X vector