From owner-freebsd-net@FreeBSD.ORG Wed Jun 4 21:58:01 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 74AB11065675 for ; Wed, 4 Jun 2008 21:58:01 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1F98FC18 for ; Wed, 4 Jun 2008 21:58:01 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so172140wah.3 for ; Wed, 04 Jun 2008 14:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MIxhozAkOhwNet92U9UHZVUu8kMFO7+Bbg8gGPB9ksE=; b=uHpMKT9ff9+A2YZnT7HAgsNhuKMOyd+mXqPD/nQog4QdQnty6ncKnI1elwgXE7If3k 4Bh0pth7g6AfQzXKpPHSA4GRLWmsBST7D319+SJRGgEFZXhSW0lbSuAlmE9iWhL8CylP 3qLbbmwIQDeqNqdQqzSNuYJhIm36rrLWhz/rA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=cECU2UeZmfHN90xEIUnyNL1aJbjhZK5Jmz/kLjOWi+4Pe4HxEAsfQC0gNsItwY2Doi vxA9ULb4+OgGMpR1eJd3Oj4enYU8N959s+QcwQXC19KJ3+ZsiahvCc8Bb6QD7RKe+bOO DA/gZ/PEwCAMtXuZkJmLRGPpvOMbCVnGARm8o= Received: by 10.114.58.6 with SMTP id g6mr753883waa.68.1212616680731; Wed, 04 Jun 2008 14:58:00 -0700 (PDT) Received: by 10.114.174.13 with HTTP; Wed, 4 Jun 2008 14:58:00 -0700 (PDT) Message-ID: <2a41acea0806041458p2f498dacvdf33dfbca75d8554@mail.gmail.com> Date: Wed, 4 Jun 2008 14:58:00 -0700 From: "Jack Vogel" To: "Andrew Snow" In-Reply-To: <48470F61.6060907@modulus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0806041345x435ab61cq77f59a0cc0ae043f@mail.gmail.com> <48470F61.6060907@modulus.org> Cc: freebsd-net@freebsd.org 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:58:01 -0000 On Wed, Jun 4, 2008 at 2:55 PM, Andrew Snow wrote: > 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 > Sam is going to make some change that should suit my needs, waiting to see his code to make my changes. Jack