Date: Thu, 21 Mar 2002 22:23:16 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: Haryadi Gunawi <haryadi@cs.wisc.edu> Cc: net@FreeBSD.ORG Subject: Re: incorrect checksums with xl? Message-ID: <200203220623.g2M6NG716985@arch20m.dellroad.org> In-Reply-To: <Pine.LNX.4.21.0203210032380.6631-100000@tux19.cs.wisc.edu> "from Haryadi Gunawi at Mar 21, 2002 00:40:12 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203220623.g2M6NG716985>