From owner-freebsd-hackers Fri Sep 28 6:22:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 4C6B137B40E for ; Fri, 28 Sep 2001 06:22:12 -0700 (PDT) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f8SDJev62735; Fri, 28 Sep 2001 08:19:40 -0500 (CDT) (envelope-from jlemon) Date: Fri, 28 Sep 2001 08:19:40 -0500 From: Jonathan Lemon To: Terry Lambert Cc: Jonathan Lemon , the_srinivas@hotmail.com, hackers@freebsd.org Subject: Re: TCP&IP cksum offload on FreeBSD 4.2 Message-ID: <20010928081940.S9056@prism.flugsvamp.com> References: <200109270157.f8R1vZ546863@prism.flugsvamp.com> <3BB42E50.B32F5E95@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <3BB42E50.B32F5E95@mindspring.com> 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 On Fri, Sep 28, 2001 at 01:01:20AM -0700, Terry Lambert wrote: > 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. This is true for the nge driver. Does it apply to the ti driver as well? -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message