Thread (80 messages) 80 messages, 11 authors, 2004-12-10

Re: 1.03Mpps on e1000 (was: Re: [E1000-devel] Transmission limit)

From: Lennert Buytenhek <hidden>
Date: 2004-12-05 21:25:59

Possibly related (same subject, not in this thread)

On Sun, Dec 05, 2004 at 01:12:22PM -0800, Scott Feldman wrote:
Would Martin or Lennert run these test for a longer duration so we can
get some data, maybe adding in Rx.  It could be that removing the Tx
interrupts and descriptor write-backs, prefetching may be ok.  I don't
know.  Intel?
What your patch does is (correct me if I'm wrong):
- Masking TXDW, effectively preventing it from delivering TXdone ints.
- Not setting E1000_TXD_CMD_IDE in the TXD command field, which causes
  the chip to 'ignore the TIDV' register, which is the 'TX Interrupt
  Delay Value'.  What exactly does this?
- Not setting the "Report Packet Sent"/"Report Status" bits in the TXD
  command field.  Is this the equivalent of the TXdone interrupt?

Just exactly which bit avoids the descriptor writeback?

I'm also a bit worried that only freeing packets 1ms later will mess up
socket accounting and such.  Any ideas on that?

Also, wouldn't it be great if someone wrote a document capturing all of
the accumulated knowledge for future generations?
I'll volunteer for that.


--L
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help