From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: Li Yang <LeoLi@freescale.com>
Cc: netdev@vger.kernel.org
Subject: RE: [PATCH] Increase virtual FIFOs in ucc_geth.
Date: Tue, 11 Dec 2007 11:11:59 +0100 [thread overview]
Message-ID: <1197367919.6790.3.camel@gentoo-jocke.transmode.se> (raw)
In-Reply-To: <989B956029373F45A0B8AF029708189001B4D901@zch01exm26.fsl.freescale.net>
On Tue, 2007-12-11 at 17:49 +0800, Li Yang wrote:
> > -----Original Message-----
> > From: Joakim Tjernlund [mailto:Joakim.Tjernlund@transmode.se]
> > Sent: Tuesday, December 11, 2007 2:46 AM
> > To: Li Yang-r58472 <LeoLi@freescale.com> Netdev
> > Cc: Joakim Tjernlund
> > Subject: [PATCH] Increase virtual FIFOs in ucc_geth.
> >
> > Increase UCC_GETH_URFS_INIT to 1152 and
> > UCC_GETH_UTFS_INIT to 896 to avoid HW Overrun/Underrun.
>
> Please be noted that these values are only used for 10/100Mbps speed.
> Did you get Overrun in 10/100M mode?
I get both TX Underrun and RX overrun in 100Mbps, FD, just
by running a tftp transfer. It feels like the URFET and/or URSFET
isn't working. Why I don't know. CPU is MPC832x
Jocke
>
> - Leo
>
> >
> > Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> > ---
> > drivers/net/ucc_geth.h | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h
> > index bb4dac8..d3f030b 100644
> > --- a/drivers/net/ucc_geth.h
> > +++ b/drivers/net/ucc_geth.h
> > @@ -923,11 +923,11 @@ struct ucc_geth_hardware_statistics {
> > #define PHY_CHANGE_TIME 2
> >
> > /* Fast Ethernet (10/100 Mbps) */
> > -#define UCC_GETH_URFS_INIT 512 /* Rx
> > virtual FIFO size
> > +#define UCC_GETH_URFS_INIT 1152 /* Rx
> > virtual FIFO size
> > */
> > #define UCC_GETH_URFET_INIT 256 /* 1/2 urfs */
> > #define UCC_GETH_URFSET_INIT 384 /* 3/4 urfs */
> > -#define UCC_GETH_UTFS_INIT 512 /* Tx
> > virtual FIFO size
> > +#define UCC_GETH_UTFS_INIT 896 /* Tx
> > virtual FIFO size
> > */
> > #define UCC_GETH_UTFET_INIT 256 /* 1/2 utfs */
> > #define UCC_GETH_UTFTT_INIT 128
> > --
> > 1.5.3.6
> >
> >
>
>
next prev parent reply other threads:[~2007-12-11 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1197312366-7484-1-git-send-email-Joakim.Tjernlund@transmode.se>
2007-12-11 9:49 ` [PATCH] Increase virtual FIFOs in ucc_geth Li Yang
2007-12-11 10:11 ` Joakim Tjernlund [this message]
2007-12-11 10:57 ` Joakim Tjernlund
2007-12-11 11:51 ` Li Yang
2007-12-11 12:24 ` Joakim Tjernlund
2007-12-11 16:55 ` Joakim Tjernlund
2007-12-12 13:08 ` Joakim Tjernlund
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=1197367919.6790.3.camel@gentoo-jocke.transmode.se \
--to=joakim.tjernlund@transmode.se \
--cc=LeoLi@freescale.com \
--cc=netdev@vger.kernel.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