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

cvs commit: src/sys/dev/netif/msk if_msk.c if_mskreg.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Mar 2008 00:07:34 -0700 (PDT)

sephe       2008/03/22 00:07:34 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/msk    if_msk.c if_mskreg.h 
  Log:
  - Set number of TX descriptors to 512.
  - Add interrupt moderation support in msk(4).
  - Add a sysctl node for interrupt rate, which is disabled by default. (*)
  
  Obtained-from: Marvell's myk(4)
  
  #
  # Set interrupt rate to 4000(/sec) on Yukon EC(rev2):
  # - If the other side sends at 200Kpps, interrupt time will be reduced from
  #   50%-70% to 30%-50%
  # - If msk(4) is used to blast packets, interrupt time will be reduced from
  #   35%-40% to 25%-%35 and packet rate will be increased by 10Kpps-15Kpps
  #
  
  # (*) Marvell's myk(4) uses different clock for EC_U/FE/XL than the value set
  #     in mskc_attach(), due to lack of document, it is unclear which clock is
  #     correct, so disabling interrupt moderation timer by default is the safest
  #     choice.
  
  Revision  Changes    Path
  1.2       +103 -33   src/sys/dev/netif/msk/if_msk.c
  1.3       +10 -2     src/sys/dev/netif/msk/if_mskreg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/msk/if_msk.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/msk/if_mskreg.h.diff?r1=1.2&r2=1.3&f=u



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