On Fri, 18 May 2007, Hans Petter Selasky wrote:

> > It occurred to me last night that you could accomplish what you want
> > without any change to the Linux drivers at all.  Just change the
> > FreeBSD stack so that it preallocates one or two transfers for every
> > endpoint at the time the endpoint is enabled -- that is, whenever the
> > stack sends a Set-Configuration or Set-Interface request.
> >
> 
> That is correct. But where do I get information about the buffer-size to use? 
> Choosing the wrong buffer size can limit performance or waste memory.

Yes, that is a problem.  It's made even worse by the fact that the 
drivers themselves frequently do not know in advance the buffer sizes 
they will use.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to