Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11800878 authored by Yuval Mintz's avatar Yuval Mintz Committed by David S. Miller
Browse files

tg3: set maximal number of default RSS queues



Signed-off-by: default avatarYuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>

Cc: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 98f2d21f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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