From owner-svn-src-user@FreeBSD.ORG Sun Aug 21 14:43:20 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D175106566B; Sun, 21 Aug 2011 14:43:20 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3CC098FC1B; Sun, 21 Aug 2011 14:43:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p7LEhKDQ007800; Sun, 21 Aug 2011 14:43:20 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7LEhKwW007798; Sun, 21 Aug 2011 14:43:20 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201108211443.p7LEhKwW007798@svn.freebsd.org> From: Adrian Chadd Date: Sun, 21 Aug 2011 14:43:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225058 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2011 14:43:20 -0000 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; }