Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 10:11:06 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Bill Paul <wpaul@FreeBSD.org>
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_
Message-ID:  <20040911071106.GB71710@ip.net.ua>
In-Reply-To: <20040910221559.01AA216A4D1@hub.freebsd.org>
References:  <41421EEE.C3E12DA7@freebsd.org> <20040910221559.01AA216A4D1@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040911071106.GB71710>