projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cbb576
)
qlge: set maximal number of default RSS queues
author
Yuval Mintz
<yuvalmin@broadcom.com>
Sun, 1 Jul 2012 03:18:53 +0000
(
03:18
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Jul 2012 10:06:44 +0000
(
03:06
-0700)
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Cc: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Cc: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Cc: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qlge/qlge_main.c
b/drivers/net/ethernet/qlogic/qlge/qlge_main.c
index
09d8d33
..
3c3499d
100644
(file)
--- a/
drivers/net/ethernet/qlogic/qlge/qlge_main.c
+++ b/
drivers/net/ethernet/qlogic/qlge/qlge_main.c
@@
-4649,7
+4649,7
@@
static int __devinit qlge_probe(struct pci_dev *pdev,
int err = 0;
ndev = alloc_etherdev_mq(sizeof(struct ql_adapter),
- min(MAX_CPUS,
(int)num_online_cpu
s()));
+ min(MAX_CPUS,
netif_get_num_default_rss_queue
s()));
if (!ndev)
return -ENOMEM;