From owner-freebsd-hackers Fri Sep 28 1: 1: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 1728337B403 for ; Fri, 28 Sep 2001 01:00:57 -0700 (PDT) Received: from mindspring.com (dialup-209.245.138.226.Dial1.SanJose1.Level3.net [209.245.138.226]) by snipe.mail.pas.earthlink.net (8.11.5/8.9.3) with ESMTP id f8S80VC07214; Fri, 28 Sep 2001 01:00:35 -0700 (PDT) Message-ID: <3BB42E50.B32F5E95@mindspring.com> Date: Fri, 28 Sep 2001 01:01:20 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Lemon Cc: the_srinivas@hotmail.com, hackers@freebsd.org Subject: Re: TCP&IP cksum offload on FreeBSD 4.2 References: <200109270157.f8R1vZ546863@prism.flugsvamp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Jonathan Lemon wrote: > >I'm trying to use the TCP&IP checksum offload capability of the Netgear > >GA620 NIC from a SMP FreeBSD 4.2R system running on a typical PIII SBC. > >I did enable TCP&IP cksum offload for receive operations by setting the > >if_hwassist flag in the driver /sys/pci/if_ti.c and verified that it is > >working. However I'm unable to offload TCP&IP checksum for the send > >operations. > > All you need to do is uncomment the TI_CSUM_FEATURES flag at the top > of the file, and recompile. He didn't say his packet size, either. To the original poster: if you are sending jumbograms, the buffer size on these cards is limited, so the entire packet can't be in the card buffer at the same time, which means that you can not offload the send checksum for jumbograms, only for regular sized packets. Also note that this card is not known to be the fastest one ot there, so you may be better off doing the checksum on your 1GHz+ host processor instead. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message