From owner-freebsd-net Thu Mar 21 22:30:12 2002 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id C5C8B37B419 for ; Thu, 21 Mar 2002 22:30:02 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA13131; Thu, 21 Mar 2002 22:23:24 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g2M6NG716985; Thu, 21 Mar 2002 22:23:16 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200203220623.g2M6NG716985@arch20m.dellroad.org> Subject: Re: incorrect checksums with xl? In-Reply-To: "from Haryadi Gunawi at Mar 21, 2002 00:40:12 am" To: Haryadi Gunawi Date: Thu, 21 Mar 2002 22:23:16 -0800 (PST) Cc: net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Haryadi Gunawi writes: > Can someone help me point the source code where "the TCP/IP stack knows > that the NIC is going to insert the checksums"? Grep for "ifp->if_hwassist" and "CSUM_" in /sys/netinet/*.c. > Is there anyway to disable checksum in the hardware so that > the checksum will be done in software or > to force the TCP/IP stack do the checksumming? Set ifp->if_hwassist to zero at attach time. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message