svn commit: r193792 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb

Kip Macy kmacy at FreeBSD.org
Tue Jun 9 01:07:08 UTC 2009


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; 


More information about the svn-src-user mailing list