I re-submit the urbs in the completion handlers. Is that a good idea? I read some posts that mentioned resubmitting urbs in a tasklet. If I have such a tasklet for the resubmission as well as for the error recovery, can I expect much performance gain? Thanks.
Resubmitting requests in completion handlers should be fine, althugh from time to time 2.4 UHCI drivers have gotten confused by drivers that work that way. (Which is why some drivers use tasklets instead. That was certainly an issue in 2.4.10 but it might fixed by now.)
Last I knew, tasklets couldn't sleep. So you can't call usb_clear_halt() in them, for stall recovery.
Tasklet-vs-completion won't have much of a direct effect on performance.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
