From owner-freebsd-net@FreeBSD.ORG Tue Dec 11 18:03:33 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 1391BF5E for ; Tue, 11 Dec 2012 18:03:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id 95AE98FC13 for ; Tue, 11 Dec 2012 18:03:32 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so2625298wgh.31 for ; Tue, 11 Dec 2012 10:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3jzheEa6p9UIZYEEdiLs83zL2pYDI2215s21hu3z25I=; b=pwoK9Fvolr+F8C0KuD9Byz/exCv/in0rVSeekHfPr7avO80IutKaKz2fse/Z+kh3Ff AD+l23qE/pe9LKNACOE0uV+jnn5z/+p3MdZhLqLjGMxf2DdaujT+oPgAlKIXb+GkG7t9 r6TygfQec1lDRONVI+LvlKJAX8+AaD0AFPZXds1m8gysc7/himbcRqsiu0Um5aE+deYX xxiqIWRXb7neK2DMDzp2D8iBNn2/zBjl8SrHHh647fSkKfrFE24Bi42Dk2WMMkCWA4hz P+3eVxfg5T77q0CsKWRuZU5gJTAbz5d23dM+WsPaCpg/vEh41iiDiE09eOiJ4ML8FUg6 Zzew== MIME-Version: 1.0 Received: by 10.194.179.34 with SMTP id dd2mr1996168wjc.1.1355249009965; Tue, 11 Dec 2012 10:03:29 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Tue, 11 Dec 2012 10:03:29 -0800 (PST) In-Reply-To: <1355243209.48529.YahooMailClassic@web121606.mail.ne1.yahoo.com> References: <50C74990.2090803@gmail.com> <1355243209.48529.YahooMailClassic@web121606.mail.ne1.yahoo.com> Date: Tue, 11 Dec 2012 10:03:29 -0800 X-Google-Sender-Auth: qwqunlC0NUpfoMTptE8Rsj9Ai1s Message-ID: Subject: Re: igb and ALTQ in 9.1-rc3 From: Adrian Chadd To: Barney Cordoba Content-Type: text/plain; charset=ISO-8859-1 Cc: Karim Fodil-Lemelin , freebsd-net@freebsd.org, nodens2099@gmail.com 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 18:03:33 -0000 The if_transmit versus multiqueue thing is orthogonal. 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. 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