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

From: Arnd Bergmann
Date: Wed Aug 16 2006 - 18:14:55 EST

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.


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


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.


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 <><
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at