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

cvs commit: src/sys/dev/netif/nfe if_nfe.c if_nfevar.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Jul 2008 00:29:45 -0700 (PDT)

sephe       2008/07/05 00:29:44 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/nfe    if_nfe.c if_nfevar.h 
  Log:
  Use hardware timer to simulate interrupt moderation.
  
  hw.nfeX.imtimer -> 0  no interrupt moderation at all.
  hw.nfeX.imtimer -> -Y hardware timer simulated interrupt moderation,
                        the simultated interrupt moderation timer will
                        be set to Y.
  hw.nfeX.imtimer -> Y  hardware timer only interrupt moderation,
                        hardware timer will be set to Y.
  
  Set hw.nfeX.imtimer to -125 (8000Hz) should work on most system.
  
  With heavier interrupt moderation (e.g. hw.nfeX.imtimer to -250), it is
  recommended to increase hw.nfe.rx_ring_count tunable to a higher value
  (e.g. 512), since the default value (128) is obviously too small.
  
  Revision  Changes    Path
  1.31      +104 -43   src/sys/dev/netif/nfe/if_nfe.c
  1.9       +6 -3      src/sys/dev/netif/nfe/if_nfevar.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfe.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfevar.h.diff?r1=1.8&r2=1.9&f=u



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