Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 01:07:06 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r193792 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb
Message-ID:  <200906090107.n59176PT050710@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Tue Jun  9 01:07:06 2009
New Revision: 193792
URL: http://svn.freebsd.org/changeset/base/193792

Log:
  fix typo

Modified:
  user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c

Modified: user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c	Tue Jun  9 01:03:36 2009	(r193791)
+++ user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c	Tue Jun  9 01:07:06 2009	(r193792)
@@ -241,7 +241,8 @@ check_pkt_coalesce(struct sge_qset *qs) 
 	 * when we go below 1/8 full and there are no packets enqueued, 
 	 * this provides us with some degree of hysteresis
 	 */
-        if (*fill != 0 && (txq->in_use < (txq->size>>3)) && TXQ_EMPTY(qs))  
+        if (*fill != 0 && (txq->in_use < (txq->size>>3)) &&
+	    TXQ_RING_EMPTY(qs))  
                 *fill = 0; 
         else if (*fill == 0 && (txq->in_use >= (txq->size>>2)))
                 *fill = 1; 



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