From owner-freebsd-net@FreeBSD.ORG Wed Mar 30 17:01:03 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C7D16A4CE for ; Wed, 30 Mar 2005 17:01:03 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D47143D48 for ; Wed, 30 Mar 2005 17:01:02 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j2UH1Zss048017; Wed, 30 Mar 2005 20:01:35 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 89813-20; Wed, 30 Mar 2005 20:01:07 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j2UH1YN9048013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2005 20:01:34 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j2UH1NY9029384; Wed, 30 Mar 2005 20:01:23 +0300 (EEST) (envelope-from ru) Date: Wed, 30 Mar 2005 20:01:23 +0300 From: Ruslan Ermilov To: Philip Olsson Message-ID: <20050330170123.GA29295@ip.net.ua> References: <424AB340.1060207@puffy.nu> <20050330151027.GA28805@ip.net.ua> <424AC552.8020502@puffy.nu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <424AC552.8020502@puffy.nu> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-net@FreeBSD.org Subject: Re: em(4) + bridging X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 30 Mar 2005 17:01:03 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi again, On Wed, Mar 30, 2005 at 05:27:14PM +0200, Philip Olsson wrote: > >On Wed, Mar 30, 2005 at 04:10:08PM +0200, Philip Olsson wrote: > >=20 > > > >>Iam woundering if there exists any patchset that will fix the broken=20 > >>em-driver or if anyone can bring my up to date with the development of= =20 > >>the driver. > > > 5-stable >=20 > >>Right now I want to do dummynet on em with dot1q, works fine with other= =20 > >>nics but I want to do it with a em(4) card. > >> > >> =20 > >> > >You decide, do you need bridge(4) or dummynet(4) (subject and body > >disagree)? I fixed a broken "bridging on VLANs whose parent > >interfaces support h/w VLAN tag encapsulation" in HEAD a while ago, > >on February 18, in this commit: > > > >http://lists.freebsd.org/pipermail/cvs-src/2005-February/040840.html > > > >=20 > > > I need both briding and dummynet, right now briding does not work. > Your change is only in -current, i run stable. > I will try to try them later tonight. >=20 As a work-around, em(4) driver supports turning off VLAN tagging in hardware, so you can switch it off without code modifications and expect with a reasonable chance of success it will now work. For example, ifconfig em0 -vlanhwtag Then try bridging on VLAN interfaces again. If it works now, then merging my patch to RELENG_5 will definitely help you. Unfortunately, I'm not in a mood (nor I think re@ would) to merge (commit) this change now, so close to a release. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCSttiqRfpzJluFF4RArlxAJwPWSXCyYWRL811Qz/U/XEQmsEl0ACgk5bl 4OhvvqhoF1ZzBceqhpZp3uY= =llvh -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--