DragonFly commits List (threaded) for 2007-04
DragonFly BSD
DragonFly commits List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Apr 2007 22:14:40 -0700 (PDT)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]