From owner-cvs-all Tue Jul 10 16: 7:21 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 98ABF37B405; Tue, 10 Jul 2001 16:07:15 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f6AN7F451961; Tue, 10 Jul 2001 16:07:15 -0700 (PDT) (envelope-from wpaul) Message-Id: <200107102307.f6AN7F451961@freefall.freebsd.org> From: Bill Paul Date: Tue, 10 Jul 2001 16:07:15 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/nge if_nge.c X-FreeBSD-CVS-Branch: HEAD 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 wpaul 2001/07/10 16:07:15 PDT Modified files: sys/dev/nge if_nge.c Log: Two optimizations: 1) Bite the bullet, and allow unaligned accesses without buffer copies on the i386 platform. According to some tests run by Andrew Gallatin, the buffer copy performance hit is greater than the unaligned access performance hit (especially with jumbo frames). We still need to copy everywhere else. 2) Enable interrupt moderation with a 100us timeout. Submitted by: Andrew Gallatin MFC after: 1 week Revision Changes Path 1.17 +37 -12 src/sys/dev/nge/if_nge.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message