>> If the host had multiple read URBs pending, would it continue to send IN >> tokens after it had already received a short packet in that frame? >> > > Yes. > Hmm, I've implemented the multiple outstanding URBs, but it appears that my host only considers one read URB per 1ms period, no matter how many read URBs have been submitted.
In the trace below, you'll see me creating a bunch of read URBs. My device is spewing packets of 4 and 8 bytes as fast as it can, but the spacing between read callbacks is still about 1ms (throughput 6kB/s on average). I think I more-or-less decided it wouldn't be such a good thing for a host to send a zillion IN tokens only to have the device send a zillion NAKs: it'd suck up bandwidth that could be useful to other devices on the bus. -Ed ffff810173894a80 3555140885 S Bi:007:02 -115 256 < ffff810165333180 3555140890 S Bi:007:02 -115 256 < ffff810165333080 3555140892 S Bi:007:02 -115 256 < ffff810165333280 3555140894 S Bi:007:02 -115 256 < ffff81016e6fdec0 3555140899 S Bi:007:02 -115 256 < ffff81016e6fddc0 3555140901 S Bi:007:02 -115 256 < ffff81017391d9c0 3555140903 S Bi:007:02 -115 256 < ffff81017391d4c0 3555140905 S Bi:007:02 -115 256 < ffff81017391d5c0 3555140908 S Bi:007:02 -115 256 < ffff81017391d8c0 3555140910 S Bi:007:02 -115 256 < ffff81017391d0c0 3555140912 S Bi:007:02 -115 256 < ffff810173b34e80 3555140914 S Bi:007:02 -115 256 < ffff810173b34080 3555140917 S Bi:007:02 -115 256 < ffff810173b34680 3555140919 S Bi:007:02 -115 256 < ffff810173b34580 3555140921 S Bi:007:02 -115 256 < ffff810173b34380 3555140937 S Ci:007:00 s 80 06 0302 0409 00ff 255 < ffff810173894a80 3555142784 C Bi:007:02 0 8 = 41424344 31323334 ffff810173b34d80 3555142789 S Bi:007:02 -115 256 < ffff810173b34380 3555143773 C Ci:007:00 0 12 = 0c035700 69006400 67006500 ffff810165333180 3555143781 C Bi:007:02 0 4 = 41424344 ffff810173894a80 3555143783 S Bi:007:02 -115 256 < ffff810173b34780 3555143991 S Ci:001:00 s a3 00 0000 0002 0004 4 < ffff810173b34780 3555143997 C Ci:001:00 0 4 = 03010000 ffff810165333080 3555144773 C Bi:007:02 0 4 = 41424344 ffff810173b34780 3555144777 S Bi:007:02 -115 256 < ffff810165333280 3555145773 C Bi:007:02 0 8 = 41424344 31323334 ffff810165333080 3555145777 S Bi:007:02 -115 256 < ffff81016e6fdec0 3555146774 C Bi:007:02 0 4 = 41424344 ffff810165333280 3555146778 S Bi:007:02 -115 256 < ffff81016e6fddc0 3555147773 C Bi:007:02 0 8 = 41424344 31323334 ffff81016e6fdec0 3555147776 S Bi:007:02 -115 256 < ffff81017391d9c0 3555148772 C Bi:007:02 0 4 = 41424344 ffff81016e6fddc0 3555148778 S Bi:007:02 -115 256 < ffff81017391d4c0 3555149772 C Bi:007:02 0 8 = 41424344 31323334 ffff81017391d9c0 3555149776 S Bi:007:02 -115 256 < ffff81017391d5c0 3555150772 C Bi:007:02 0 4 = 41424344 ffff81017391d4c0 3555150777 S Bi:007:02 -115 256 < ffff81017391d8c0 3555151772 C Bi:007:02 0 8 = 41424344 31323334 ffff81017391d5c0 3555151776 S Bi:007:02 -115 256 < ffff81017391d0c0 3555152772 C Bi:007:02 0 4 = 41424344 ffff81017391d8c0 3555152775 S Bi:007:02 -115 256 < ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel