Re: USB: count of reading urbs

From: Pete Zaitcev
Date: Sat Jul 22 2006 - 02:08:12 EST


On 20 Jul 2006 16:43:23 +0400, Sergej Pupykin <ps@xxxxxxxxx> wrote:

> Please, tell me. If I submit one urb, can I lost data? (If data comes when
> urb callback executed)

USB by its nature requires devices to have some buffering, because
polling by the host may be irregular or not often enough. So, usually
there is no loss of data in such case. If you delay resubmissions
enough to overrun device's internal queue, it may happen.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/