e1000 kick
Subsystems (2)
Hi folks,
Is there a way to force tx dma to start on e1000 after the I fill up the tx ring to a certain level?
thanks
-Scott
Quoted 2 lines · Scott Huang
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
What are you trying to do?
I have some patches i wouldnt mind passing on for test purposes but it would depend on what the end goal is,
cheers,
jamal
Quoted 11 lines · Scott Huang
Hi folks,
Is there a way to force tx dma to start on e1000 after the I fill up the tx ring to a certain level?
thanks
-Scott
Hi Jamal,
I would like to DMA packets to/from pre-allocated fixed-sized buffer pools for a user space TCP/IP stack to transmit/receive packets. The Rx path is working well. I wanted to control when the card should DMA packets from the Tx pool.
thanks
-Scott
Quoted 23 lines · --- jamal
What are you trying to do?
I have some patches i wouldnt mind passing on for
test purposes
but it would depend on what the end goal is,cheers,
jamalQuoted 3 lines · Scott Huang
Hi folks,
Is there a way to force tx dma to start on e1000
after
Quoted 8 lines
the I fill up the tx ring to a certain level?
thanks
-Scott
Scott,
Sorry to bother you again. I am still trying to evaluate whether i should go and grab these patches from the unconnected machine. In other words, they may not be useful for you.
Is this a proprieatry stack, something you are researching. what? How do you pass the packets from user space straight to DMA?
cheers,
jamal
Quoted 41 lines · Scott Huang
Hi Jamal,
I would like to DMA packets to/from pre-allocated fixed-sized buffer pools for a user space TCP/IP stack to transmit/receive packets. The Rx path is working well. I wanted to control when the card should DMA packets from the Tx pool.
thanks
-Scott
Quoted 23 lines · --- jamal
What are you trying to do?
I have some patches i wouldnt mind passing on for
test purposes
but it would depend on what the end goal is,cheers,
jamalQuoted 3 lines · Scott Huang
Hi folks,
Is there a way to force tx dma to start on e1000
after
Quoted 8 lines
the I fill up the tx ring to a certain level?
thanks
-Scott