Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149606
b: refs/heads/master
c: 674e4f9
h: refs/heads/master
v: v3
  • Loading branch information
Haiying Wang authored and Kumar Gala committed May 19, 2009
1 parent c85616c commit 7128f80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 98ca77af23da6682bb3e34961a3f32e2c064a4ce
refs/heads/master: 674e4f93e2524e5710d5f2081feaedfd08f924a7
10 changes: 9 additions & 1 deletion trunk/drivers/net/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3710,7 +3710,15 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
ug_info->uf_info.utfet = UCC_GETH_UTFET_GIGA_INIT;
ug_info->uf_info.utftt = UCC_GETH_UTFTT_GIGA_INIT;
ug_info->numThreadsTx = UCC_GETH_NUM_OF_THREADS_4;
ug_info->numThreadsRx = UCC_GETH_NUM_OF_THREADS_4;

/* If QE's snum number is 46 which means we need to support
* 4 UECs at 1000Base-T simultaneously, we need to allocate
* more Threads to Rx.
*/
if (qe_get_num_of_snums() == 46)
ug_info->numThreadsRx = UCC_GETH_NUM_OF_THREADS_6;
else
ug_info->numThreadsRx = UCC_GETH_NUM_OF_THREADS_4;
}

if (netif_msg_probe(&debug))
Expand Down

0 comments on commit 7128f80

Please sign in to comment.