Thread (45 messages) flat view 45 messages, 11 authors, 2006-08-22

Re: [PATCH 1/2]: powerpc/cell spidernet bottom half

From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-08-16 22:17:07
Also in: linuxppc-dev, lkml

Am Wednesday 16 August 2006 23:32 schrieb David Miller:
Can spidernet be told these kinds of parameters?  "N packets or
X usecs"?
It can not do exactly this but probably we can get close to it by

1.) Setting a one-time interrupt to fire x*10µs after putting a
   packet into the TX queue.

and

2.a) Enabling end of TX queue interrupts whenever more than y frames
     have been queued for TX.

or

2.b) Marking frame number y in the TX to fire an interrupt when it
     has been transmitted, and move the mark whenever we clean up
     TX descriptors.

or

2.c) Marking frame number y to generate an interrupt, but counting
     y from the end of the queue, and update the mark whenever we
     add frames to the queue tail.

I'm not sure which version of 2. would give us the best approximation.

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