From owner-cvs-all Thu Feb 27 8: 0:38 2003 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 9FC0E37B401 for ; Thu, 27 Feb 2003 08:00:31 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C376343FAF for ; Thu, 27 Feb 2003 08:00:25 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (root@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with SMTP id h1RG0JTx090103 for ; Thu, 27 Feb 2003 18:00:19 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id h1RG0HHR090079 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 27 Feb 2003 18:00:19 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id h1RG0HdY090074; Thu, 27 Feb 2003 18:00:17 +0200 (EET) Date: Thu, 27 Feb 2003 18:00:17 +0200 From: Ruslan Ermilov To: "Daniel C. Sobral" Cc: Jonathan Lemon , Bill Paul , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c if_fxpreg.h if_fxpvar.h Message-ID: <20030227160017.GB88361@sunbay.com> References: <200302262212.h1QMC4L8017995@repoman.freebsd.org> <3E5DFD83.4070605@tcoip.com.br> <20030227122441.GF39346@sunbay.com> <3E5E0EEC.9020203@tcoip.com.br> <3E5E1D66.6080801@tcoip.com.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <3E5E1D66.6080801@tcoip.com.br> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 27, 2003 at 11:15:02AM -0300, Daniel C. Sobral wrote: > Daniel C. Sobral wrote: > >Ruslan Ermilov wrote: > > > >>On Thu, Feb 27, 2003 at 08:58:59AM -0300, Daniel C. Sobral wrote: > >> > >>>Bill Paul wrote: > >>> > >>>>wpaul 2003/02/26 14:12:04 PST > >>>> > >>>>Modified files: > >>>> sys/dev/fxp if_fxp.c if_fxpreg.h if_fxpvar.h Log: > >>>>As previously threatened, add TCP/IP checksum offload support to > >>>>the fxp driver. This is enabled only for the 82550/82551 chips > >>>>(PCI revision code 12 or 13). RX and TX checksum offload are > >>>>both supported. Transmit offload is limited to TCP and UDP only > >>>>right now: there seems to be a problem with IP header checksumming > >>>>on transmit in some cases. > >>> > >>> > >>>I'm curious. Is there any way of knowing whether support has been=20 > >>>detected and is in use? I did the pciconf trick you mentioned, but...= =20 > >>> > >>> > >>ifconfig(8) will tell you: > >> > >>xl0: flags=3D8802 mtu 1500 > >> options=3D3 > >> ether 00:50:da:b4:10:5b > >> media: Ethernet autoselect (none) > >> status: no carrier > >> > >>"ifconfig -m" will tell you the list of supported capabilities. > >> > >> > >>>Alas, when you say revision code 12 or 13... is that hex or decimal?= =20 > >>>pciconf shows some of mine as being 0d. > >>> > >> > >>0d =3D=3D 13. :-) > > > > > >Unless Bill Paul meant 13 as being 0x13 =3D=3D 19. He mentions pciconf,= =20 > >which shows just "0d", and would show just "13" for 0x13, so I'm still= =20 > >unsure. Well, I'll have a new kernel soon on my 5.x testbox, and check= =20 > >this out. Thanks for the ifconfig reply. >=20 > So... how does one turn it on? >=20 Will you be surprised to know that ifconfig(8) does this? ;-) > fxp2: flags=3D8843 mtu 1500 > options=3D8 > capability list: > =3Db > ether 00:02:b3:8f:30:41 > media: Ethernet autoselect (100baseTX ) > status: active > supported media: > media autoselect > media 100baseTX mediaopt full-duplex > media 100baseTX > media 10baseT/UTP mediaopt full-duplex > media 10baseT/UTP > media none > media 100baseTX mediaopt hw-loopback >=20 Jonathan forgot to document the "rxcsum", "txcsum", and "netcons" capabilities in the ifconfig(8) manpage. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+XjYRUkv4P6juNwoRAmfnAJwM0R8RhAanTbtx4umpDzyD9Gp9NwCfULRv tROY330X08NWsB7Mk/NqqKs= =SRY0 -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message