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

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Sep 2007 07:08:28 -0700 (PDT)

sephe       2007/09/10 07:08:28 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/nfe    if_nfe.c if_nfereg.h if_nfevar.h 
  Log:
  - Add interrupt moderation support by only using TIMER intr; IM is not
    possible when RX or TX intr is enabled.  With this change, my nfe(4)
    can TX at line speed finally (mtu 1500).
  - Add per iface sysctl node hw.nfeX.imtime to enable, disable and set
    interrupt moderation time.  Set it to -1 will disable IM; 64-128
    seems to be a reasonable value range.  This sysctl variable is _not_
    on by default, and can be tuned when the iface is running.
  - Nuke global sysctl nodes, make them per iface.
  
  # We may consider using TIMER intr under all situations, but with larger
  # imtime when IM is not enabled, since for certain type of nfe(4), TX
  # interrupts may never come.
  
  Revision  Changes    Path
  1.17      +102 -21   src/sys/dev/netif/nfe/if_nfe.c
  1.5       +4 -2      src/sys/dev/netif/nfe/if_nfereg.h
  1.3       +10 -0     src/sys/dev/netif/nfe/if_nfevar.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfe.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfereg.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfevar.h.diff?r1=1.2&r2=1.3&f=u



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