From owner-freebsd-net@FreeBSD.ORG Wed Aug 24 18:28:41 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 23D78106566B for ; Wed, 24 Aug 2011 18:28:41 +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 E17D88FC0A for ; Wed, 24 Aug 2011 18:28:39 +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 p7OIFFRu032211 for ; Wed, 24 Aug 2011 11:15:18 -0700 (PDT) (envelope-from mahan@mahan.org) Message-ID: <4E553F29.7020101@mahan.org> Date: Wed, 24 Aug 2011 11:12:57 -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: freebsd-net@freebsd.org X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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: Wed, 24 Aug 2011 18:28:41 -0000 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... Thanks, Patrick