From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 6 20:05:41 2013 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 11CBB7A7 for ; Sun, 6 Jan 2013 20:05:41 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id 86F1B1636 for ; Sun, 6 Jan 2013 20:05:39 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id r06K5bMI061241; Mon, 7 Jan 2013 00:05:37 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id r06K5bX5061240; Mon, 7 Jan 2013 00:05:37 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 7 Jan 2013 00:05:37 +0400 From: Gleb Smirnoff To: Mike Hix Subject: Re: ixgbe ALTQ support on 9.1-RELEASE Message-ID: <20130106200537.GH51864@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 20:05:41 -0000 On Wed, Jan 02, 2013 at 05:26:35PM -0800, Mike Hix wrote: M> Should ixgbe 2.4.8 (supplied with 9.1-RELEASE) or newer support altq? M> M> altq(4) lists ixgbe under the SUPPORTED DEVICES section. M> M> I've successfully built a kernel with altq support and altq works with M> 1Gb nics and corresponding drivers on the same system. M> M> When attempting to load a pf rule set that includes queueing for my 10Gb M> NIC, it fails with the following message: M> M> pfctl: ix0: driver does not support altq M> M> Note that 'load a pf rule set' means 'pfctl -vf /etc/pf.conf'. When M> using the flags '-vnf' to check my rule set pfctl does not produce the M> above error, prints out the complete rule set, and exits with status M> 0. I'd expect it to check the driver for support when '-n' is supplied, M> but it doesn't appear that it does. M> M> My card: M> ix0@pci0:3:0:0: class=0x020000 card=0xa12c8086 chip=0x150b8086 M> rev=0x01 hdr=0x00 M> vendor = 'Intel Corporation' M> device = '82598EB 10-Gigabit AT2 Server Adapter' M> class = network M> subclass = ethernet M> M> If ixgbe does support altq, why does pfctl report otherwise? If not, why M> does the man page state otherwise? The same issue with igb is discussed in this thread: http://lists.freebsd.org/pipermail/freebsd-net/2012-December/034072.html For ixgbe situation is absolutely the same. -- Totus tuus, Glebius.