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:
9765343
)
sfc: Restore the effect of the rss_cpus module parameter
author
Ben Hutchings
<bhutchings@solarflare.com>
Wed, 12 Jan 2011 19:11:05 +0000
(19:11 +0000)
committer
Ben Hutchings
<bhutchings@solarflare.com>
Thu, 13 Jan 2011 22:09:17 +0000
(22:09 +0000)
Commit
a4900ac
("sfc: Create multiple TX queues") accidentally
disabled the rss_cpus module parameter.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/efx.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/efx.c
b/drivers/net/sfc/efx.c
index c2dc9a525dea38257949f94e2a167938c5a6b919..002bac7438434f8eb240a891815e1223b55b7c5c 100644
(file)
--- a/
drivers/net/sfc/efx.c
+++ b/
drivers/net/sfc/efx.c
@@
-1153,6
+1153,9
@@
static int efx_wanted_channels(void)
int count;
int cpu;
+ if (rss_cpus)
+ return rss_cpus;
+
if (unlikely(!zalloc_cpumask_var(&core_mask, GFP_KERNEL))) {
printk(KERN_WARNING
"sfc: RSS disabled due to allocation failure\n");