From owner-svn-src-user@FreeBSD.ORG Sat Jun 11 12:41:03 2011 Return-Path: <owner-svn-src-user@FreeBSD.ORG> Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B806C1065672; Sat, 11 Jun 2011 12:41:03 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A942B8FC16; Sat, 11 Jun 2011 12:41:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p5BCf3Gn075465; Sat, 11 Jun 2011 12:41:03 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p5BCf3uN075463; Sat, 11 Jun 2011 12:41:03 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201106111241.p5BCf3uN075463@svn.freebsd.org> From: Adrian Chadd <adrian@FreeBSD.org> Date: Sat, 11 Jun 2011 12:41:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222984 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" <svn-src-user.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-user>, <mailto:svn-src-user-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-src-user> List-Post: <mailto:svn-src-user@freebsd.org> List-Help: <mailto:svn-src-user-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-user>, <mailto:svn-src-user-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 11 Jun 2011 12:41:03 -0000 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