projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f2d21
)
tg3: set maximal number of default RSS queues
author
Yuval Mintz
<yuvalmin@broadcom.com>
Sun, 1 Jul 2012 03:18:57 +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: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/broadcom/tg3.c
b/drivers/net/ethernet/broadcom/tg3.c
index e47ff8be1d7b5c27be543c7d41f4584d56054644..6cbab0369738da048b83fe497367eafc59c3618f 100644
(file)
--- 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 = n
um_online_cpu
s();
+ tp->irq_cnt = n
etif_get_num_default_rss_queue
s();
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