Date: Thu, 4 Nov 2004 22:52:59 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 64270 for review Message-ID: <200411042252.iA4MqxiO042706@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=64270 Change 64270 by sam@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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411042252.iA4MqxiO042706>
