Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2001 19:46:23 -0400
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Bill Paul <wpaul@FreeBSD.org>
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>
In-Reply-To: <200107232227.f6NMRL478608@freefall.freebsd.org>; from wpaul@FreeBSD.org on Mon, Jul 23, 2001 at 03:27:21PM -0700
References:  <200107232227.f6NMRL478608@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010804194622.A15060>