svn commit: r193568 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb
Kip Macy
kmacy at FreeBSD.org
Sat Jun 6 06:11:26 UTC 2009
Author: kmacy
Date: Sat Jun 6 06:11:25 2009
New Revision: 193568
URL: http://svn.freebsd.org/changeset/base/193568
Log:
return immediately if forcing coalesce
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 Sat Jun 6 06:03:45 2009 (r193567)
+++ user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c Sat Jun 6 06:11:25 2009 (r193568)
@@ -231,8 +231,10 @@ check_pkt_coalesce(struct sge_qset *qs)
sc = qs->port->adapter;
fill = &sc->tunq_fill[qs->idx];
- if (cxgb_pcpu_tx_coalesce_force && (*fill == 0))
+ if (cxgb_pcpu_tx_coalesce_force && (*fill == 0)) {
*fill = 1;
+ return;
+ }
/*
* if the hardware transmit queue is more than 3/4 full
* we mark it as coalescing
More information about the svn-src-user
mailing list