From owner-freebsd-net@FreeBSD.ORG Wed Aug 24 18:42:29 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 0EF7E106566C for ; Wed, 24 Aug 2011 18:42:29 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADA98FC16 for ; Wed, 24 Aug 2011 18:42:28 +0000 (UTC) Received: by ewy1 with SMTP id 1so857103ewy.13 for ; Wed, 24 Aug 2011 11:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6hyM4o9uGDu+YYXFTpQUqn9oPbTsC8KEQzpNkwQtVsg=; b=Er0E9c6kCIW8csuSrzE2j/RECgW3zlqSlnRmaCwTeTP0xqOt4V5NlmfFeNP16bnYlM hG/UtZLYqY2SKhnfxtzGFP6j6gDyOnih/z6CrC4HdgJKN7rNM/hA3p9PFQkcrU8rAdfL qke/8NKCRRNWgCquxEduvBXDx144VOTDT03fw= MIME-Version: 1.0 Received: by 10.14.1.15 with SMTP id 15mr592817eec.100.1314211347353; Wed, 24 Aug 2011 11:42:27 -0700 (PDT) Received: by 10.14.98.73 with HTTP; Wed, 24 Aug 2011 11:42:27 -0700 (PDT) In-Reply-To: <4E553F29.7020101@mahan.org> References: <4E553F29.7020101@mahan.org> Date: Wed, 24 Aug 2011 22:42:27 +0400 Message-ID: From: Sergey Kandaurov To: Patrick Mahan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 24 Aug 2011 18:42:29 -0000 On 24 August 2011 22:12, Patrick Mahan wrote: > Can somebody confirm my assumption on the following: > > =A0If I am supporting ALTQ in a driver, then I should use the > =A0IFQ_DRV_DEQUEUE() macro. =A0If I am not supporting ALTQ then > =A0it is okay IFQ_DEQUEUE() macro? =A0If not what's the difference? > > Slightly confused... > Just in case, have you read man 9 altq? It has a good description of these macros. --=20 wbr, pluknet