PERFORCE change 64270 for review

Sam Leffler sam at FreeBSD.org
Thu Nov 4 14:53:00 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=64270

Change 64270 by sam at sam_ebb on 2004/11/04 22:52:53

	mark tx descriptors for non-data frames with TXDESCINT so
	they are reaped more quickly; this potentially helps reclaim
	node state sooner since the last reference is typically
	reclaimed when reaping the tx of the deauth/deassoc frame

Affected files ...

.. //depot/projects/wifi/sys/dev/ath/if_ath.c#9 edit

Differences ...

==== //depot/projects/wifi/sys/dev/ath/if_ath.c#9 (text+ko) ====

@@ -2869,7 +2869,8 @@
 	 * NB: use >= to deal with sc_txintrperiod changing
 	 *     dynamically through sysctl.
 	 */
-	if (++txq->axq_intrcnt >= sc->sc_txintrperiod) {
+	if (atype != HAL_PKT_TYPE_NORMAL ||
+	    ++txq->axq_intrcnt >= sc->sc_txintrperiod) {
 		flags |= HAL_TXDESC_INTREQ;
 		txq->axq_intrcnt = 0;
 	}


More information about the p4-projects mailing list