cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

Gleb Smirnoff glebius at FreeBSD.org
Sun Dec 18 12:26:18 PST 2005


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


More information about the cvs-all mailing list