From owner-freebsd-hackers Mon May 13 13:56:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id E9AE637B404 for ; Mon, 13 May 2002 13:56:36 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id B1EB2AE272; Mon, 13 May 2002 13:56:36 -0700 (PDT) Date: Mon, 13 May 2002 13:56:36 -0700 From: Alfred Perlstein To: David Greenman-Lawrence Cc: Terry Lambert , Matthew Dillon , jamie@tridentmicrosystems.co.uk, freebsd-hackers@FreeBSD.ORG Subject: Re: Broadcom BCM5701 Chipset problems Message-ID: <20020513205636.GB90188@elvis.mu.org> References: <20020513115600.A50967@mufuf.trident-uk.co.uk> <3CDFF60C.48A2EA65@mindspring.com> <20020513102526.H72322@nexus.root.com> <200205131758.g4DHwJFj068941@apollo.backplane.com> <3CE00B14.E8CA43A8@mindspring.com> <200205131901.g4DJ1U8s069604@apollo.backplane.com> <3CE01595.D045B70D@mindspring.com> <20020513124807.R72322@nexus.root.com> <3CE01A3A.AAB85F64@mindspring.com> <20020513130924.W72322@nexus.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020513130924.W72322@nexus.root.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * David Greenman-Lawrence [020513 13:10] wrote: > > The card doesn't drop the packet if the IP/TCP checksum is wrong. In my > tests, I did a software checksum on the supposedly bad packet, and found it > to be good every time. So it DMA's correctly, the checksum is just calculated > incorrectly by the hardware. Probably pretty obvious, but adding a flag "if bad hwsum, then try softsum" probably wouldn't be too hard. Of course it depends on how often it mangles the checksum, if it's quite often it's probably just a better idea to do it in software to lift some load from the card if doing the hw checksum actually taxes the card. (like i've heard about tigonII) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message