Date: Mon, 18 Mar 2013 02:29:57 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248455 - head/sys/dev/ath Message-ID: <201303180229.r2I2Tv6h051710@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon Mar 18 02:29:57 2013 New Revision: 248455 URL: http://svnweb.freebsd.org/changeset/base/248455 Log: Print out the current fifo queue depth correctly - not just the max queue depth. Silly hat to me. Modified: head/sys/dev/ath/if_ath_sysctl.c Modified: head/sys/dev/ath/if_ath_sysctl.c ============================================================================== --- head/sys/dev/ath/if_ath_sysctl.c Mon Mar 18 01:30:54 2013 (r248454) +++ head/sys/dev/ath/if_ath_sysctl.c Mon Mar 18 02:29:57 2013 (r248455) @@ -399,8 +399,9 @@ ath_sysctl_txagg(SYSCTL_HANDLER_ARGS) ATH_RX_LOCK(sc); for (i = 0; i < 2; i++) { - printf("%d: fifolen: %d; head=%d; tail=%d\n", + printf("%d: fifolen: %d/%d; head=%d; tail=%d\n", i, + sc->sc_rxedma[i].m_fifo_depth, sc->sc_rxedma[i].m_fifolen, sc->sc_rxedma[i].m_fifo_head, sc->sc_rxedma[i].m_fifo_tail);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303180229.r2I2Tv6h051710>