Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 16:07:15 -0700 (PDT)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/nge if_nge.c
Message-ID:  <200107102307.f6AN7F451961@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <no longer at duke.edu>
  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




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