Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2005 20:26:12 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h
Message-ID:  <200512182026.jBIKQCiw011925@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-12-18 20:26:12 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c if_bgereg.h 
  Log:
  Since BGE_MBX_TX_HOST_PROD0_LO register is write-only to software,
  we can cache its value in the softc. Eliminates one PCI register
  write per call to bge_start().
  
  A 1.8% speedup for UDP_RR test on my old box.
  
  Obtained from:  NetBSD(jonathan) via delphij
  
  Revision  Changes    Path
  1.108     +10 -4     src/sys/dev/bge/if_bge.c
  1.41      +1 -0      src/sys/dev/bge/if_bgereg.h



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