Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 12:39:46 -0800
From:      David Greenman <dg@root.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        rsharpe@ns.aus.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Does anyone know if the Broadcom BCM5700 has problems with HW csum?
Message-ID:  <20011216123946.A88592@nexus.root.com>
In-Reply-To: <15388.48508.65545.403221@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Sun, Dec 16, 2001 at 10:27:56AM -0500
References:  <20011214214118.A30560@Odin.AC.HMC.Edu> <3C1AF362.534BD2F7@mindspring.com> <20011215005739.A84861@nexus.root.com> <20011215031304.N79896@elvis.mu.org> <20011215011045.C84861@nexus.root.com> <3C1B32EB.ACBA8DB@mindspring.com> <20011215135635.A86349@nexus.root.com> <3C1BD22F.F3A52BF4@mindspring.com> <20011215150933.B86349@nexus.root.com> <15388.48508.65545.403221@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>David Greenman writes:
> > >David Greenman wrote:
> > >> >In any case, disabling it is what ClickArray ended up doing, as well,
> > >> >for the Tigon II, until the firmware could be fixed.
> > >> 
> > >>    We're talking about the Tigon III (bge driver for Broadcom BCM5700/BCM5701).
> > >
> > >Crap.  Thanks for the info.
> > >
> > >Have you manually calculated the checksum on a bad packet to see
> > >how it's off?
> > 
> >    Yes. It's typically off by 0x1051, but varies depending on the TCP/IP
> > header contents.
>
>Hmm.. Since you've already got the code for calculating the checksum
>in the driver written, why not use it?  Eg, why not pass the csum up &
>set CSUM_DATA_VALID iff the csum ends up being 0? Are you worried that
>the firmware will yield false posatives too?

   Yes, I think it can just as easily return false positives.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
Pave the road of life with opportunities.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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