From owner-freebsd-net@FreeBSD.ORG Tue Dec 11 20:24:56 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FE47A11 for ; Tue, 11 Dec 2012 20:24:56 +0000 (UTC) (envelope-from kfodil-lemelin@xiplink.com) Received: from smtp121.dfw.emailsrvr.com (smtp121.dfw.emailsrvr.com [67.192.241.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4165E8FC08 for ; Tue, 11 Dec 2012 20:24:55 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp12.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id A57163C1BD9 for ; Tue, 11 Dec 2012 15:17:03 -0500 (EST) X-Virus-Scanned: OK Received: from smtp137.ord.emailsrvr.com (smtp137.ord.emailsrvr.com [173.203.6.137]) by smtp12.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTPS id 88D013C1B1B for ; Tue, 11 Dec 2012 15:17:03 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp18.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id E1534300D8; Tue, 11 Dec 2012 15:16:56 -0500 (EST) X-Virus-Scanned: OK Received: by smtp18.relay.ord1a.emailsrvr.com (Authenticated sender: kfodil-lemelin-AT-xiplink.com) with ESMTPSA id 7A546300D7; Tue, 11 Dec 2012 15:16:56 -0500 (EST) Message-ID: <50C794B6.8030303@xiplink.com> Date: Tue, 11 Dec 2012 15:16:54 -0500 From: Karim Fodil-Lemelin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: igb and ALTQ in 9.1-rc3 References: <50C74990.2090803@gmail.com> <1355243209.48529.YahooMailClassic@web121606.mail.ne1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Karim Fodil-Lemelin , Barney Cordoba , nodens2099@gmail.com, freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 20:24:56 -0000 On 11/12/2012 1:03 PM, Adrian Chadd wrote: > The if_transmit versus multiqueue thing is orthogonal. Indeed, although ALTQ isn't using if_transmit and doing a simple drop in (replacing if_start with if_transmit) breaks ALTQ with multiqueue capable drivers. > > I'm planning to make net80211 and ath(4) use if_transmit instead of > if_start. It won't be a multi-queue driver; I'm actually going down > the path of if_transmit specifically so I can control the TX queue > serialisation and actively _serialise_ frame TX, instead of > implementing a multi-queue driver. > > ALTQ as a concept needs to be glued in a different way. It can't just > override the queue macros like it does. That's just plain ew. I agree. I think ALTQ should maintain its own queues and locks and not rely on drivers for queue management. > > net80211 has some rather quirky behaviour, unfortunately. I won't go > into it here. Suffice to say, I can't just use the IFQ macros, the > if_queue as it stands, nor buf_ring. > > > > Adrian > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"