Author: adrian
Date: Thu Jun  9 22:01:05 2016
New Revision: 301767
URL: https://svnweb.freebsd.org/changeset/base/301767

Log:
  [ath] add a placeholder event for debuggin EDMA TX FIFO push events.
  
  Some later code I'll commit pushes lists of frames into the EDMA TX
  FIFO, rather than a single frame at a time.  The CABQ code already
  pushes frame lists, but it turns out we should actually be doing it
  in general or performance tanks. :(

Modified:
  head/sys/dev/ath/if_ath_alq.h

Modified: head/sys/dev/ath/if_ath_alq.h
==============================================================================
--- head/sys/dev/ath/if_ath_alq.h       Thu Jun  9 21:59:36 2016        
(r301766)
+++ head/sys/dev/ath/if_ath_alq.h       Thu Jun  9 22:01:05 2016        
(r301767)
@@ -113,6 +113,14 @@ struct if_ath_alq_mib_counters {
 #define        ATH_ALQ_STUCK_BEACON            13
 #define        ATH_ALQ_RESUME_BEACON           14
 
+#define        ATH_ALQ_TX_FIFO_PUSH            15
+struct if_ath_alq_tx_fifo_push {
+       uint32_t        txq;
+       uint32_t        nframes;
+       uint32_t        fifo_depth;
+       uint32_t        frame_cnt;
+};
+
 /*
  * These will always be logged, regardless.
  */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to