Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2010 23:39:43 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h
Message-ID:  <201003012339.o21NdrNx024681@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-03-01 23:39:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/msk          if_msk.c if_mskreg.h 
  Log:
  SVN rev 204541 on 2010-03-01 23:39:43Z by yongari
  
  Implement rudimentary interrupt moderation with programmable
  countdown timer register. The timer resolution may vary among
  controllers but the value would be represented by core clock
  cycles. msk(4) will automatically computes number of required clock
  cycles from given micro-seconds unit.
  The default interrupt holdoff timer value is 100us which will
  ensure less than 10k interrupts under load. The timer value can be
  changed with dev.mskc.0.int_holdoff sysctl node.
  
  Note, the interrupt moderation is shared resource on dual-port
  controllers so you can't use separate interrupt moderation value
  for each port. This means we can't stop interrupt moderation in
  driver stop routine. Also have msk_tick() reclaim transmitted Tx
  buffers as safety belt. With this change there is no need to check
  missing Tx completion interrupt in watchdog handler, so remove it.
  
  Revision  Changes    Path
  1.88      +20 -20    src/sys/dev/msk/if_msk.c
  1.35      +3 -0      src/sys/dev/msk/if_mskreg.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003012339.o21NdrNx024681>