Re: MAX_USBFS_BUFFER_SIZE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wednesday 01 March 2006 22:32, Greg KH wrote:
> On Wed, Mar 01, 2006 at 09:16:25PM +0100, Ren?? Rebe wrote:
> > Hi,
> > 
> > I wonder if:
> > 
> > drivers/usb/core/devio.c:86
> > #define MAX_USBFS_BUFFER_SIZE   16384
> > 
> > is some random, or outdated limit or if there really is some code path that could
> > not handle bigger URBs.
> > 
> > For performance reasons I would like to use bigger packages for an image
> > aquisition device.
> 
> Why not just send down 2 urbs with that size then, that would keep the
> pipe quite full.

Because that requires even more modifications to libusb and sane (i_usb) ...

So, queing alot URBs is the recommended way to sustain the bus? Allowing
way bigger buffers will not be realistic?

Yours,


-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
            http://www.exactcode.de | http://www.t2-project.org
            +49 (0)30  255 897 45
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux