> >
> > The buffer is created in usbtest.c:iso_alloc_urb(), at the point where it
> > calls usb_buffer_alloc().
> 
> Actually cant i fill this buffer in user space?

No.


> it is more logic to fill the buffer in the user-space (testusb.c)
> then let the usbtest.c module send the iso-packet that contains the
> data of the filled buffer.

Not really ... remember that one of the things being tested is whether
certain kinds of operation trigger low level races in peripheral and/or
host side controller drivers.  Forcing round-trip delays to userspace
in the critical between-packets paths would prevent such testing.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to