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

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

cxgb3: 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: Divy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9eb8738d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3050,7 +3050,7 @@ static struct pci_error_handlers t3_err_handler = {
static void set_nqsets(struct adapter *adap)
{
	int i, j = 0;
	int num_cpus = num_online_cpus();
	int num_cpus = netif_get_num_default_rss_queues();
	int hwports = adap->params.nports;
	int nqsets = adap->msix_nvectors - 1;