| To: | Scott Huang <scott_z_huang@xxxxxxxxx> |
|---|---|
| Subject: | Re: e1000 kick |
| From: | Scott Feldman <sfeldma@xxxxxxxxx> |
| Date: | Sat, 09 Oct 2004 10:38:43 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20041008231713.1126.qmail@web80401.mail.yahoo.com> |
| References: | <20041008231713.1126.qmail@web80401.mail.yahoo.com> |
| Reply-to: | sfeldma@xxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Fri, 2004-10-08 at 16:17, Scott Huang wrote:
> Is there a way to force tx dma to start on e1000 after
> the I fill up the tx ring to a certain level?
Just delay the write of the Tx tail index (TDT). Writing to the Tx tail
index signals hardware to start the DMA from Tx head index (TDH) to
TDT. See code for
E1000_WRITE_REG(&adapter->hw, TDT, i);
But don't delay too long...you'll trigger the tx_timeout reset.
-scott
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] pktgen: sprintf arg type warning, Andi Kleen |
|---|---|
| Next by Date: | Re: [PATCH] pktgen: sprintf arg type warning, Sam Leffler |
| Previous by Thread: | e1000 kick, Scott Huang |
| Next by Thread: | Re: e1000 kick, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |