Thread (1 message) 1 message, 1 author, 2005-06-14

Re: [PATCH] tg3_msi() and weakly ordered memory

From: Grant Grundler <hidden>
Date: 2005-06-14 15:46:25

Possibly related (same subject, not in this thread)

On Mon, Jun 13, 2005 at 11:54:23PM -0700, Michael Chan wrote:
quoted
Once you write "0x1" to the mailbox register, the device stops
updating the status block and stops generating interrupts.

That is what makes a lot of things safe.
Only interrupts are stopped, status block will still be updated subject to
during-ints coalescing.
Will setting during-ints to a very high threshhold essentially allow
us to "indefinitely" process stuff without taking any interrupts?
Would the threshhold counter get reset every time we write back
the status tag WITHOUT re-enableing interrupts?

If not, I suspect the CPU will circulate in tg3_poll until during-ints
is exhausted and DMA will stop until CPU reenables interrupts.
ie not until it's done processing outstanding packets.

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