cvs commit: src/sys/dev/netif/bge if_bge.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Apr 13 22:15:10 PDT 2007


sephe       2007/04/13 22:14:40 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/bge    if_bge.c 
  Log:
  For bge_rxeof(), return immediately if no RX descs need to be processed, this
  optimization avoids two unnecessary register accessing and increase performance
  a lot.  Same optimization is applied to bge_txeof(), but it will not have
  real effect until bge(4) uses busdma(4) (i.e. will avoid extra sync)
  
  Obtained-from: FreeBSD (oleg at freebsd.org)
  
  Revision  Changes    Path
  1.67      +8 -0      src/sys/dev/netif/bge/if_bge.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.66&r2=1.67&f=u





More information about the Commits mailing list