Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2007 22:41:21 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 126996 for review
Message-ID:  <200709292241.l8TMfL6A050908@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126996

Change 126996 by kmacy@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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709292241.l8TMfL6A050908>