speedtch usbatm.c,1.36,1.37

Duncan Sands duncan at infradead.org
Thu May 5 04:37:53 EDT 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv14701

Modified Files:
	usbatm.c 
Log Message:
Five milliseconds seems much too low.  When we throttle it is probably
because we were disconnected.  It can take up to 250 msecs before the
khub notices, which means 50 retry attempts with a 5 millisecond delay.


Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- usbatm.c	5 May 2005 08:26:43 -0000	1.36
+++ usbatm.c	5 May 2005 08:37:50 -0000	1.37
@@ -107,7 +107,7 @@
 
 #define ATM_CELL_HEADER			(ATM_CELL_SIZE - ATM_CELL_PAYLOAD)
 
-#define THROTTLE_MSECS			5	/* delay to recover processing after urb submission fails */
+#define THROTTLE_MSECS			100	/* delay to recover processing after urb submission fails */
 
 static unsigned int num_rcv_urbs = UDSL_DEFAULT_RCV_URBS;
 static unsigned int num_snd_urbs = UDSL_DEFAULT_SND_URBS;




More information about the Usbatm-commits mailing list