svn commit: r225058 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sun Aug 21 14:43:20 UTC 2011
Author: adrian
Date: Sun Aug 21 14:43:19 2011
New Revision: 225058
URL: http://svn.freebsd.org/changeset/base/225058
Log:
add a twiddle to dump the current queue depth.
It's not -that- useful with live traffic as the queue depth changes
too frequently, so..
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_sysctl.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_sysctl.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_sysctl.c Sun Aug 21 10:52:50 2011 (r225057)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_sysctl.c Sun Aug 21 14:43:19 2011 (r225058)
@@ -326,6 +326,14 @@ ath_sysctl_txagg(SYSCTL_HANDLER_ARGS)
printf("\n");
}
printf("\n");
+
+ for (i = 0; i < HAL_NUM_TX_QUEUES; i++) {
+ if (ATH_TXQ_SETUP(sc, i)) {
+ printf("HW TXQ %d: axq_depth=%d\n",
+ i, sc->sc_txq[i].axq_depth);
+ }
+ }
+
return 0;
}
More information about the svn-src-user
mailing list