summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-06-09 21:59:36 +0000
committeradrian <adrian@FreeBSD.org>2016-06-09 21:59:36 +0000
commitb62361084981f5488ffa1d8c687053693757d205 (patch)
treec1420baa9037efa8f336b184ccfaa9059010dc28
parentfe1d4f77766acb1eceb9718b452976e3f8a9fd6b (diff)
downloadFreeBSD-src-b62361084981f5488ffa1d8c687053693757d205.zip
FreeBSD-src-b62361084981f5488ffa1d8c687053693757d205.tar.gz
[ath] report node queue overflows.
I need to also update athstats to report this too.
-rw-r--r--sys/dev/ath/if_ath_sysctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c
index ab829df..749285a6a 100644
--- a/sys/dev/ath/if_ath_sysctl.c
+++ b/sys/dev/ath/if_ath_sysctl.c
@@ -1282,6 +1282,9 @@ ath_sysctl_stats_attach(struct ath_softc *sc)
&sc->sc_stats.ast_rx_keymiss, 0, "");
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_swfiltered", CTLFLAG_RD,
&sc->sc_stats.ast_tx_swfiltered, 0, "");
+ SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_nodeq_overflow",
+ CTLFLAG_RD, &sc->sc_stats.ast_tx_nodeq_overflow, 0,
+ "tx dropped 'cuz nodeq overflow");
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_stbc",
CTLFLAG_RD, &sc->sc_stats.ast_rx_stbc, 0,
"Number of STBC frames received");
OpenPOWER on IntegriCloud