From owner-freebsd-net@FreeBSD.ORG Fri Aug 31 10:31:18 2007 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 6374616A41B for ; Fri, 31 Aug 2007 10:31:18 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog14.obsmtp.com (s200aog14.obsmtp.com [207.126.144.128]) by mx1.freebsd.org (Postfix) with SMTP id 8AC2E13C4A6 for ; Fri, 31 Aug 2007 10:31:17 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob014.postini.com ([207.126.147.11]) with SMTP; Fri, 31 Aug 2007 10:27:37 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id AE0A518141C; Fri, 31 Aug 2007 10:51:52 +0100 (BST) Message-ID: <46D7E4B8.4030609@tomjudge.com> Date: Fri, 31 Aug 2007 10:51:52 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0708301622j6b4eeab9h62576dcfd1325b0a@mail.gmail.com> In-Reply-To: <2a41acea0708301622j6b4eeab9h62576dcfd1325b0a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" , Andre Oppermann , John Baldwin Subject: Re: vlan filtering 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, 31 Aug 2007 10:31:18 -0000 Jack Vogel wrote: > I was just working on a bug in the Oplin driver that had me look > a bit more at VLAN code than I had previously. > > FreeBSD has apparently never used the hardware vlan filtering > that our hardware can do, is there a systemic reason for this, > or has the code lagged in its use of the system? > > I at least don't understand how the driver is supposed to get > the vlan id to set in the filter, am I just unenlightened? :) > > If this is doable I can add code into em as well as ixgbe. > > Jack This isn't really directly related but could be important for some users. If you where to use this would the card handle Q in Q properly with the filter on or would there have to be some form of administrative option to turn the hardware filter on/off? Tom