From owner-cvs-all Sat Aug 4 16:47: 0 2001 Delivered-To: cvs-all@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 49CB537B401; Sat, 4 Aug 2001 16:46:54 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id TAA07509; Sat, 4 Aug 2001 19:46:52 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f74NkN115124; Sat, 4 Aug 2001 19:46:23 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) Date: Sat, 4 Aug 2001 19:46:23 -0400 From: Andrew Gallatin To: Bill Paul Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/txp if_txp.c Message-ID: <20010804194622.A15060@grasshopper.cs.duke.edu> References: <200107232227.f6NMRL478608@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107232227.f6NMRL478608@freefall.freebsd.org>; from wpaul@FreeBSD.org on Mon, Jul 23, 2001 at 03:27:21PM -0700 X-Operating-System: FreeBSD 4.3-RELEASE on an i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bill Paul [wpaul@FreeBSD.org] wrote: > wpaul 2001/07/23 15:27:21 PDT > > Modified files: > sys/dev/txp if_txp.c > Log: > Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha > won't trap. Based on experience with the nge gig cards, I suggest we turn off __STRICT_ALIGNMENT for i386, where unaligned access will probably be cheaper than copying. __STRICT_ALIGNMENT essentially negates any benefit you get from the checksum offloading.. -- ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message