From owner-freebsd-hackers Mon May 13 15:40:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from root.com (nexus.root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 8E34737B414 for ; Mon, 13 May 2002 15:39:40 -0700 (PDT) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id g4DMcS683787; Mon, 13 May 2002 15:38:28 -0700 (PDT) (envelope-from dg) Date: Mon, 13 May 2002 15:38:28 -0700 From: David Greenman-Lawrence To: Alfred Perlstein Cc: Terry Lambert , Matthew Dillon , jamie@tridentmicrosystems.co.uk, freebsd-hackers@FreeBSD.ORG Subject: Re: Broadcom BCM5701 Chipset problems Message-ID: <20020513153828.A83723@nexus.root.com> References: <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> <20020513205636.GB90188@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020513205636.GB90188@elvis.mu.org>; from bright@mu.org on Mon, May 13, 2002 at 01:56:36PM -0700 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. Not obvious at all. How do you know if a packet is good or bad without always doing the software checksum? -DG David Greenman-Lawrence Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com President, Download Technologies, Inc. - http://www.downloadtech.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