On Sun, Oct 13, 2002, Dan Streetman <[EMAIL PROTECTED]> wrote: > On Sun, 13 Oct 2002, David Brownell wrote: > > >Dan Streetman wrote: > > > I have to agree with JE, there should be a common API for drivers to > > > reserve bandwidth on a per-ep basis, and then any URBs submitted are > > > guaranteed not to fail from a shortage of bandwidth. > > > >(I didn't get such a message from him.) > > What I meant is JE mentioned BW should be reserved per-endpoint, not > per-URB. I extended that to suggest an actual API for drivers that > reserves on a per-endpoint basis, without requiring any URBs to actually > be pending. Like: > > reserve_bandwidth(hcd, dev, pipe); > ... > <user application uses pipe intermittently> > ... > <user or driver no longer needs to use pipe> > release_bandwidth(hcd, dev, pipe); > > So the bandwidth reservation isn't tied to pipe usage. > > My impression is that is what JE was suggesting.
That was pretty much what I had suggested originally. Possibly enforcing the reservation in core at submit time. JE ------------------------------------------------------- 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