Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 00:48:46 -0500 (CDT)
From:      Hyong-Youb Kim <hykim@cs.rice.edu>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        <freebsd-net@freebsd.org>
Subject:   Re: Tigon 3 bad checksums on TCP packets
Message-ID:  <Pine.GSO.4.33.0210120045320.12482-100000@frosty.cs.rice.edu>
In-Reply-To: <Pine.GSO.4.33.0210111723110.9821-100000@frosty.cs.rice.edu>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.33.0210120045320.12482-100000>