PERFORCE change 126996 for review

Kip Macy kmacy at FreeBSD.org
Sat Sep 29 15:41:22 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=126996

Change 126996 by kmacy at kmacy_home:ethng on 2007/09/29 22:40:57

	coalesce when a ring is 3/4 full - still unclear what the right value is
	for this

Affected files ...

.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_main.c#23 edit

Differences ...

==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_main.c#23 (text+ko) ====

@@ -292,9 +292,9 @@
 	txq = &qs->txq[TXQ_ETH];
 	sc = qs->port->adapter;
 
-	if (sc->tunq_fill[qs->idx] && (txq->in_use < (txq->size>>1))) 
+	if (sc->tunq_fill[qs->idx] && (txq->in_use < (txq->size - (txq->size>>2)))) 
 		sc->tunq_fill[qs->idx] = 0;
-	else if (!sc->tunq_fill[qs->idx] && (txq->in_use > (txq->size>>1))) 
+	else if (!sc->tunq_fill[qs->idx] && (txq->in_use > (txq->size - (txq->size>>2)))) 
 		sc->tunq_fill[qs->idx] = 1;
 }
 


More information about the p4-projects mailing list