Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2011 14:23:41 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r226689 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201110241423.p9OENfWn047541@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Oct 24 14:23:40 2011
New Revision: 226689
URL: http://svn.freebsd.org/changeset/base/226689

Log:
  Introduce some new counters which will be used to track which parts
  of the codebase the driver is currently in.
  
  This is prepratory work for further locking/concurrency work.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h	Mon Oct 24 13:56:31 2011	(r226688)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h	Mon Oct 24 14:23:40 2011	(r226689)
@@ -435,6 +435,10 @@ struct ath_softc {
 	uint32_t		sc_txq_active;	/* bitmap of active TXQs */
 	uint32_t		sc_kickpcu;	/* whether to kick the PCU */
 	uint32_t		sc_in_reset;	/* currently reset/chan change */
+	uint32_t		sc_in_rxtasklet;	/* currently in rx tasklet */
+	uint32_t		sc_in_rxproc;	/* currently in ath_rx_proc */
+	uint32_t		sc_in_txsend;	/* currently in ath_start / ath_raw_xmit */
+	uint32_t		sc_in_txproc;	/* currently in ath_tx_proc */
 
 	u_int			sc_keymax;	/* size of key cache */
 	u_int8_t		sc_keymap[ATH_KEYBYTES];/* key use bit map */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110241423.p9OENfWn047541>