mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
cxgb3: set maximal number of default RSS queues
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Cc: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9eb8738d1e
commit
dbfa600148
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user