svn commit: r222984 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Sat Jun 11 12:41:03 UTC 2011


Author: adrian
Date: Sat Jun 11 12:41:03 2011
New Revision: 222984
URL: http://svn.freebsd.org/changeset/base/222984

Log:
  Since there's currently no TX processing/completion task (ie, TX is
  direct-dispatch), just do swq->hwq dispatch from ath_start().

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Sat Jun 11 12:40:14 2011	(r222983)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Sat Jun 11 12:41:03 2011	(r222984)
@@ -1901,6 +1901,12 @@ ath_start(struct ifnet *ifp)
 
 		sc->sc_wd_timer = 5;
 	}
+
+	/*
+	 * Since there's no nicer place to put this for now,
+	 * stick the software TXQ punt call here.
+	 */
+	ath_txq_sched(sc);
 }
 
 static int


More information about the svn-src-user mailing list