From: Haiying Wang <Haiying.Wang@freescale.com>
To: linuxppc-dev@ozlabs.org, galak@kernel.crashing.org
Cc: Haiying Wang <Haiying.Wang@freescale.com>
Subject: [PATCH 5/6] net/ucc_geth: Assign six threads to Rx for UEC
Date: Wed, 29 Apr 2009 14:14:37 -0400 [thread overview]
Message-ID: <1241028884406-git-send-email-Haiying.Wang@freescale.com> (raw)
In-Reply-To: <1241028883630-git-send-email-Haiying.Wang@freescale.com>
when there are 46 snums defined in device tree.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
---
drivers/net/ucc_geth.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 3e003fe..1f6529f 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3709,7 +3709,10 @@ 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_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))
--
1.6.0.2
next prev parent reply other threads:[~2009-04-29 18:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 18:14 [PATCH 1/6] powerpc/85xx: clean up for mpc8568_mds name Haiying Wang
2009-04-29 18:14 ` [PATCH 2/6] powerpc/qe: update risc allocation for QE Haiying Wang
2009-04-29 18:14 ` [PATCH 3/6] net/ucc_geth: update riscTx and riscRx in ucc_geth Haiying Wang
2009-04-29 18:14 ` [PATCH 4/6] powerpc/qe: update QE Serial Number Haiying Wang
2009-04-29 18:14 ` Haiying Wang [this message]
2009-04-29 18:14 ` [PATCH 6/6] powerpc/85xx: Add MPC8569MDS board support Haiying Wang
2009-04-29 20:25 ` [PATCH 5/6] net/ucc_geth: Assign six threads to Rx for UEC Kumar Gala
2009-04-30 4:35 ` [PATCH 4/6] powerpc/qe: update QE Serial Number Kumar Gala
2009-04-29 20:23 ` [PATCH 3/6] net/ucc_geth: update riscTx and riscRx in ucc_geth Kumar Gala
2009-04-29 21:51 ` David Miller
2009-04-30 4:34 ` [PATCH 2/6] powerpc/qe: update risc allocation for QE Kumar Gala
2009-04-30 11:48 ` Kumar Gala
2009-04-30 11:37 ` [PATCH 1/6] powerpc/85xx: clean up for mpc8568_mds name Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1241028884406-git-send-email-Haiying.Wang@freescale.com \
--to=haiying.wang@freescale.com \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).