From owner-cvs-all@FreeBSD.ORG Sat Sep 11 07:11:11 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48C0F16A4CE; Sat, 11 Sep 2004 07:11:11 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7942E43D2D; Sat, 11 Sep 2004 07:11:10 +0000 (GMT) (envelope-from ru@ip.net.ua) 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 i8B7B6nh049366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Sep 2004 10:11:07 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i8B7B7px031349; Sat, 11 Sep 2004 10:11:07 +0300 (EEST) (envelope-from ru) Date: Sat, 11 Sep 2004 10:11:06 +0300 From: Ruslan Ermilov To: Bill Paul Message-ID: <20040911071106.GB71710@ip.net.ua> References: <41421EEE.C3E12DA7@freebsd.org> <20040910221559.01AA216A4D1@hub.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline In-Reply-To: <20040910221559.01AA216A4D1@hub.freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Andre Oppermann cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc devd.conf src/sys/modules Makefilesrc/sys/modules/vge Makefile src/sys/dev/vge if_vge.c if_vgereg.hif_ X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2004 07:11:11 -0000 --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 10, 2004 at 10:15:58PM +0000, Bill Paul wrote: > > How well designed is the VT6122? Is it good or more on the 'it works' = side? >=20 > It's "ok." I only have a 33Mhz/32-bit PCI sample card. When I tested > it, I only got it up to about 540Mbps. I attribute some of this to > 5.3-BETA3's (lack of) performance. :( I was only able to get about > 120000 frames/sec transmit frame rate out of it, which disappointed > me. (It should be closer to 400000, especially on a dual PIII 1.2Ghz > system.) >=20 Did you also test in polling mode? > RX DMA descriptors _must_ be replentished 4 at a time, because the > chip apparently caches them 4 at a time. You won't notice this until > you get a "ran out of RX descriptors" condition, in which case the > chip's DMA logic can get oddly out of sync (once you re-enable the > RX ring, it will update the status words for descriptor (X) but put the > received packet data in the buffer attached to descriptor (X - 2)). >=20 How I love these /* We've fallen behind the chip: catch it. */ > The irritating thing is this requirement is not documented in the > chip manual. >=20 Who would doubt? :-) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBQqUKqRfpzJluFF4RAuRdAJoCFuT0/4CF/TIDiz1ICsjX59CjeQCeJ9zw Dr+RtSwiJZStsRjCd+CxQ18= =TDkO -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE--