[Click] user level todevice and infinitesource

Eddie Kohler kohler at cs.ucla.edu
Tue Oct 19 12:02:33 EDT 2004


John Bicket wrote:
> I'm trying to hook up a config like this:
> 
> InfiniteSource() -> ... -> ToDevice()
> 
> 
> Is there a way for todevice to not try to send a packet when there are
> no buffers for it?  Whenever I try this, I just get tons of 
> 
> ToDevice(ath0) send: No buffer space available
> 
> fron stderr, since the kernel device queue is getting full.
> 
> --john


Hi John,

I've done a little bit of looking at the relevant kernel code, and I think it 
might be possible to select() a packet socket (suhc as that used by ToDevice) 
for writing.

Eddie


More information about the click mailing list