From owner-freebsd-net@FreeBSD.ORG Wed Jun 4 21:56:02 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 86AA6106564A for ; Wed, 4 Jun 2008 21:56:02 +0000 (UTC) (envelope-from andrew@modulus.org) Received: from email.octopus.com.au (host-122-100-2-232.octopus.com.au [122.100.2.232]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB4C8FC13 for ; Wed, 4 Jun 2008 21:56:02 +0000 (UTC) (envelope-from andrew@modulus.org) Received: by email.octopus.com.au (Postfix, from userid 1002) id 8BC50173AF; Thu, 5 Jun 2008 07:56:01 +1000 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.octopus.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 Received: from [10.1.50.60] (142.19.96.58.exetel.com.au [58.96.19.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: admin@email.octopus.com.au) by email.octopus.com.au (Postfix) with ESMTP id 4A26A17262; Thu, 5 Jun 2008 07:55:57 +1000 (EST) Message-ID: <48470F61.6060907@modulus.org> Date: Thu, 05 Jun 2008 07:55:45 +1000 From: Andrew Snow User-Agent: Thunderbird 2.0.0.14 (X11/20080523) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <2a41acea0806041345x435ab61cq77f59a0cc0ae043f@mail.gmail.com> In-Reply-To: <2a41acea0806041345x435ab61cq77f59a0cc0ae043f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jack Vogel Subject: Re: Addition to the vlan driver 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, 04 Jun 2008 21:56:02 -0000 Jack Vogel wrote: > What I would like to do is add some code into the vlan_ioctl() routine > that will make a call > to the PARENT ioctl with SETVLAN type and an argument of the tag. > > By doing this both the em and igb drivers will be able to enable > hardware vlan filtering as > well, a feature we've never been able to use. I don't think vlan filtering is needed much, since I always use VLANs with switches that do the filtering at the port level. But it still sounds like a good idea and I can't think why not. - Andrew