Date: Mon, 21 May 2012 22:43:38 +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: r235750 - head/sys/dev/ath Message-ID: <201205212243.q4LMhc9D076890@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon May 21 22:43:38 2012 New Revision: 235750 URL: http://svn.freebsd.org/changeset/base/235750 Log: For now, add a quick debugging patch to log when the hw TXQ != the TID/AC. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ============================================================================== --- head/sys/dev/ath/if_ath_tx.c Mon May 21 22:39:13 2012 (r235749) +++ head/sys/dev/ath/if_ath_tx.c Mon May 21 22:43:38 2012 (r235750) @@ -1298,6 +1298,18 @@ ath_tx_normal_setup(struct ath_softc *sc return EIO; } + /* Check if the TXQ wouldn't match what the hardware TXQ is! */ + if (txq != sc->sc_ac2q[pri]) { + device_printf(sc->sc_dev, + "%s: txq=%p (%d), pri=%d, pri txq=%p (%d)\n", + __func__, + txq, + txq->axq_qnum, + pri, + sc->sc_ac2q[pri], + sc->sc_ac2q[pri]->axq_qnum); + } + /* * Calculate miscellaneous flags. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205212243.q4LMhc9D076890>