From owner-freebsd-net@FreeBSD.ORG Thu Nov 30 21:12:29 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E7E616A519; Thu, 30 Nov 2006 21:12:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id F38D543F54; Thu, 30 Nov 2006 21:05:53 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 5D5651CF5F; Thu, 30 Nov 2006 22:05:24 +0100 (CET) Date: Thu, 30 Nov 2006 22:05:24 +0100 From: Ed Schouten To: Bill Paul Message-ID: <20061130210524.GY16100@hoeg.nl> References: <20061129232331.8E55016A415@hub.freebsd.org> <20061130184721.F14E716A407@hub.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1rohIOZGhsaeEmnk" Content-Disposition: inline In-Reply-To: <20061130184721.F14E716A407@hub.freebsd.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: pyunyh@gmail.com, stable@freebsd.org, net@freebsd.org Subject: Re: re(4) needs promisc to work properly 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: Thu, 30 Nov 2006 21:12:29 -0000 --1rohIOZGhsaeEmnk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Bill Paul wrote: > > It's more likely a problem with the multicast filter programming. > > IPv6 is all about the multicasting (neighbord discovery depends on it > > to work correctly). I can't explain why it's not working though. > > I've tested the sample 8168B/8111B cards that RealTek sent me, and I > > didn't have any multicast problems with them. > >=20 > > -Bill >=20 > I guess I wasn't diligent enough in my testing. Upon closer inspection > of the documentation, it appears RealTek abitrarily decided to > reverse the order of the multicast hash registers in the PCIe parts: > you have to write the hash table out in reverse order. >=20 > I have no idea why they did this. In any case, I'm attaching a patch > which should fix the problem. It does. Thanks a lot. I still have some other minor issues with my network interface by the way: - Switching from and to promiscuous mode takes 7 seconds. All packets are dropped in the mean time. - Fetching 100 Mbit through FTP uses a lot of interrupts (almost thousands). Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --1rohIOZGhsaeEmnk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFb0eU52SDGA2eCwURAoM1AJ9eIZ4NlxCeH7oNZRm/GVaQ8/yjxgCfRfZM vDVH65NDFked2+aaheiVKbU= =A6fs -----END PGP SIGNATURE----- --1rohIOZGhsaeEmnk--