From owner-freebsd-hackers Sat Dec 15 1:22:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from root.com (unknown [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 1474637B416 for ; Sat, 15 Dec 2001 01:22:52 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fBF9Ajf84927; Sat, 15 Dec 2001 01:10:45 -0800 (PST) (envelope-from dg) Date: Sat, 15 Dec 2001 01:10:45 -0800 From: David Greenman To: Alfred Perlstein Cc: Terry Lambert , Brooks Davis , rsharpe@ns.aus.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Does anyone know if the Broadcom BCM5700 has problems with HW csum? Message-ID: <20011215011045.C84861@nexus.root.com> References: <3C1AEA9E.6010502@ns.aus.com> <20011214214118.A30560@Odin.AC.HMC.Edu> <3C1AF362.534BD2F7@mindspring.com> <20011215005739.A84861@nexus.root.com> <20011215031304.N79896@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011215031304.N79896@elvis.mu.org>; from bright@mu.org on Sat, Dec 15, 2001 at 03:13:04AM -0600 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 [011215 03:12] wrote: >> >Brooks Davis wrote: >> >> There was a commit to current a few hours ago disabling hardware >> >> checksums on recieve due to corruption problems. It will be MFC'd in >> >> three days though it's a two line fix so you could apply it your self: >> >> >> >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.4&r2=1.5 >> > >> >I believe you will find that the problem is related to the firmware >> >handling of VLAN tagging, and that the problem only exists if VLAN >> >tagging is enabled. >> >> You would believe wrongly, then, because the problem that I was seeing did >> not involve VLAN tags. > >You're probably incorrect, it doesn't matter if vlan tags are active >or not, it's most likely wheather or not the firmware is being asked >to handle them at all. I would think it would get the checksum wrong most of the time if that were the case. It seems to only have problems with small packets, but the behavior is pretty strange, so who knows. Do you have some specific knowledge about Broadcom and brokeness related to VLAN tag support when not using VLANs? -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