svn commit: r193566 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb
Kip Macy
kmacy at FreeBSD.org
Sat Jun 6 05:50:28 UTC 2009
Author: kmacy
Date: Sat Jun 6 05:50:27 2009
New Revision: 193566
URL: http://svn.freebsd.org/changeset/base/193566
Log:
move up check 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 05:30:34 2009 (r193565)
+++ user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c Sat Jun 6 05:50:27 2009 (r193566)
@@ -1616,6 +1616,7 @@ cxgb_transmit_locked(struct ifnet *ifp,
avail = txq->size - txq->in_use;
TXQ_LOCK_ASSERT(qs);
reclaim_completed_tx(qs, (TX_ETH_Q_SIZE>>4), TXQ_ETH);
+ check_pkt_coalesce(qs);
/*
* We can only do a direct transmit if the following are true:
@@ -1631,7 +1632,6 @@ cxgb_transmit_locked(struct ifnet *ifp,
(error = drbr_enqueue(ifp, br, m)) != 0)
return (error);
} else {
- check_pkt_coalesce(qs);
/*
* We've bypassed the buf ring so we need to update
* ifp directly
More information about the svn-src-user
mailing list