From owner-freebsd-net@FreeBSD.ORG Fri Aug 26 23:32:28 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD49A1065686 for ; Fri, 26 Aug 2011 23:32:28 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (ns.mahan.org [67.116.10.138]) by mx1.freebsd.org (Postfix) with ESMTP id AC27E8FC17 for ; Fri, 26 Aug 2011 23:32:28 +0000 (UTC) Received: from gypsy.mahan.org (localhost [127.0.0.1]) by ns.mahan.org (8.13.6/8.13.6) with ESMTP id p7QNZ3fj045783; Fri, 26 Aug 2011 16:35:04 -0700 (PDT) (envelope-from mahan@mahan.org) Message-ID: <4E582D0C.50100@mahan.org> Date: Fri, 26 Aug 2011 16:32:28 -0700 From: Patrick Mahan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Sergey Kandaurov References: <4E553F29.7020101@mahan.org> In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Usage of IFQ_DEQUEUE vs IFQ_DRV_DEQUEUE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 23:32:28 -0000 On 8/24/11 11:42 AM, Sergey Kandaurov wrote: > On 24 August 2011 22:12, Patrick Mahan wrote: >> Can somebody confirm my assumption on the following: >> >> If I am supporting ALTQ in a driver, then I should use the >> IFQ_DRV_DEQUEUE() macro. If I am not supporting ALTQ then >> it is okay IFQ_DEQUEUE() macro? If not what's the difference? >> >> Slightly confused... >> > > Just in case, have you read man 9 altq? It has a good description of > these macros. > Sergey, That is exactly what I was looking for. Don't know how I missed that (sometimes get caught up in looking at the source) Thanks, Patrick