Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314987
b: refs/heads/master
c: 5952dde
h: refs/heads/master
i:
  314985: 24eb5e9
  314983: 65cd496
v: v3
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Jul 5, 2012
1 parent 90a79fb commit af8d37f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbfa600148a25903976910863c75dae185f8d187
refs/heads/master: 5952dde723077e5e0db43cbc9dfb00a4f47c42ef
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3493,8 +3493,8 @@ static void __devinit cfg_queues(struct adapter *adap)
*/
if (n10g)
q10g = (MAX_ETH_QSETS - (adap->params.nports - n10g)) / n10g;
if (q10g > num_online_cpus())
q10g = num_online_cpus();
if (q10g > netif_get_num_default_rss_queues())
q10g = netif_get_num_default_rss_queues();

for_each_port(adap, i) {
struct port_info *pi = adap2pinfo(adap, i);
Expand Down

0 comments on commit af8d37f

Please sign in to comment.