提交 5b874e25 编写于 作者: B Ben Hutchings

sfc: Restore the effect of the rss_cpus module parameter

Commit a4900ac9 ("sfc: Create multiple TX queues") accidentally
disabled the rss_cpus module parameter.
Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
上级 97653431
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册