Thread (2 messages) flat view 2 messages, 2 authors, 2011-05-14

Re: future developments of usbnet

From: Oliver Neukum <oliver@neukum.org>
Date: 2011-05-14 09:59:51

Am Donnerstag, 12. Mai 2011, 16:37:28 schrieb Alan Stern:
Therefore usbnet's poll routine should take the "weight" argument as an
indication of how many outstanding rx URBs are allowed.  Each time the
poll routine is called, it should check to see if any rx URBs have
completed since the previous poll.  If not then there is no network
traffic, so usbnet can take itself out of the poll loop.  Otherwise,
the number of outstanding URBs should be adjusted (by unlinking some or
submitting more -- subject to some fixed maximum limit) to match the
new "weight".

Does that make sense?
What does happen if we reach the weight 0 ?

	Regards
		Oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help