From owner-freebsd-net@FreeBSD.ORG Fri Jun 27 17:16:25 2008 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 D07A9106566C for ; Fri, 27 Jun 2008 17:16:25 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.freebsd.org (Postfix) with ESMTP id 72AC68FC1B for ; Fri, 27 Jun 2008 17:16:25 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-064-185-170.pools.arcor-ip.net [88.64.185.170]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KCHYd1h5W-0002TW; Fri, 27 Jun 2008 19:16:24 +0200 Received: (qmail 47716 invoked from network); 27 Jun 2008 17:14:04 -0000 Received: from myhost.laiers.local (192.168.4.151) by mx.laiers.local with SMTP; 27 Jun 2008 17:14:04 -0000 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Fri, 27 Jun 2008 19:14:30 +0200 User-Agent: KMail/1.9.9 References: <4863FA62.2030703@zirakzigil.org> <200806271036.12195.max@love2party.net> <8e10486b0806270957y439087a5ia0d4689ad2f24ce8@mail.gmail.com> In-Reply-To: <8e10486b0806270957y439087a5ia0d4689ad2f24ce8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806271914.30216.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18jHbuL7xmd1UTUx3BJG2qnsj39Rlu/kduvKzn FCul+CmEmccEKIcv48tc317XREya57K4eMf2gmxmNokZLuiHVS Jpe4N3m145d5EIx4uOWDg== Cc: Giulio Ferro , Alexandre Biancalana Subject: Re: altq on vlan 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, 27 Jun 2008 17:16:25 -0000 On Friday 27 June 2008 18:57:59 Alexandre Biancalana wrote: > On 6/27/08, Max Laier wrote: > > You don't need a patch at all. What you do is: Queue on the > > physical interface, classify on the vlan interface. It is broken to > > allow ALTQ on a virtual interface if you can do it otherwise. > > > > in pf.conf speak: > > > > If you have "ifconfig vlanX vlandev bge0 ..." > > > > altq on bge0 .... queue { vlan0, vlan1, ... } > > queue vlan0 ... { vlan0_foo, vlan0_bar, ... } > > queue vlan0_foo > > queue vlan0_bar > > ... > > > > pass on vlanX ... queue vlanX_foobar > > > > And there you go. No patch - whatsoever - required here. > > But the patch simplify the cases where you need one queue per vlan. NO! It is just wrong! There is no relation between vlan queues on the same physical interface and thus you can't guarantee anything! Can we please stop with this nonsense and not bring up the patch every other month. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News