Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253406
b: refs/heads/master
c: 665c8c8
h: refs/heads/master
v: v3
  • Loading branch information
Williams, Mitch A authored and David S. Miller committed Jun 7, 2011
1 parent f774b8a commit 0a08e21
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: 264524d5e5195f6e0f099bee20253a22b651e272
refs/heads/master: 665c8c8ee405738375b679246b49342ce38ba056
3 changes: 3 additions & 0 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2373,6 +2373,9 @@ static int __devinit igb_sw_init(struct igb_adapter *adapter)
}
#endif /* CONFIG_PCI_IOV */
adapter->rss_queues = min_t(u32, IGB_MAX_RX_QUEUES, num_online_cpus());
/* i350 cannot do RSS and SR-IOV at the same time */
if (hw->mac.type == e1000_i350 && adapter->vfs_allocated_count)
adapter->rss_queues = 1;

/*
* if rss_queues > 4 or vfs are going to be allocated with rss_queues
Expand Down

0 comments on commit 0a08e21

Please sign in to comment.