From owner-freebsd-net Fri Oct 11 22:48:53 2002 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 677DE37B401 for ; Fri, 11 Oct 2002 22:48:51 -0700 (PDT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0753B43E4A for ; Fri, 11 Oct 2002 22:48:51 -0700 (PDT) (envelope-from hykim@cs.rice.edu) Received: from localhost (localhost [127.0.0.1]) by cs.rice.edu (Postfix) with ESMTP id 853AC4A9C0; Sat, 12 Oct 2002 00:48:50 -0500 (CDT) Received: from frosty.cs.rice.edu (frosty.cs.rice.edu [128.42.1.20]) by cs.rice.edu (Postfix) with ESMTP id E876B4A9B9; Sat, 12 Oct 2002 00:48:49 -0500 (CDT) Received: from localhost (hykim@localhost) by frosty.cs.rice.edu (8.9.3+Sun/8.9.0) with ESMTP id AAA12484; Sat, 12 Oct 2002 00:48:46 -0500 (CDT) X-Authentication-Warning: frosty.cs.rice.edu: hykim owned process doing -bs Date: Sat, 12 Oct 2002 00:48:46 -0500 (CDT) From: Hyong-Youb Kim To: Andrew Gallatin Cc: Subject: Re: Tigon 3 bad checksums on TCP packets In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org BTW, setting BGE_PCI_WRITE_BNDRY_16BYTES limits receive throughput to 540Mb/s. So it is not a solution. I really like to find out what this config does. John On Fri, 11 Oct 2002, Hyong-Youb Kim wrote: > > Thanks. I resolved the issue by forcing BGE_PCI_WRITE_BNDRY_16BYTES > in BGE_PCI_DMA_RW_CTL register. The linux driver apparently has a DMA test > code and sets this value depending on the test results. I have no clue as > to why this configuration messes up TCP receive packets and not UDP > packets. > > > John > > On Fri, 11 Oct 2002, Andrew Gallatin wrote: > > > > > Hyong-Youb Kim writes: > > > > > > I have been recently testing 3C996B-T board in an Athlon system. > > > The system has TigerMP board and a single Athlon 2000+ and runs FreeBSD > > > 4.7-RC. With bge driver, every thing works fine except that the NIC piles > > > up bad checksums on TCP receive packets. For instance, > > > netperf TCP_STREAM from another machine would pile up bad checksums. > > > What is most amazing to me is that NIC works fine with UDP receive > > > packets. As far as I have experienced, TCP/UDP checksumming in NIC should > > > have little or no difference. Too bad that the firmware is under NDA. > > > > > > > Which RC? Try updating to -stable (or 4.7-release) and then > > try applying the patch in rev 1.21 (disable memory write invalidate). > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.20&r2=1.21 > > > > > > Drew > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message