Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231229
b: refs/heads/master
c: 5b874e2
h: refs/heads/master
i:
  231227: cef6a61
v: v3
  • Loading branch information
Ben Hutchings committed Jan 13, 2011
1 parent 1a7f752 commit 363e67d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 976534319b0823aae29237d02e29a32ebcd5f910
refs/heads/master: 5b874e25c5c84bc45fc205407286fbe4744f4776
3 changes: 3 additions & 0 deletions trunk/drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 363e67d

Please sign in to comment.