Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 17:13:19 +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:  <201003241713.o2OHDc1d063531@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-03-24 17:13:19 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/msk          if_msk.c if_mskreg.h 
  Log:
  SVN rev 205610 on 2010-03-24 17:13:19Z by yongari
  
  MFC r204541:
    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.18.2.37  +20 -20    src/sys/dev/msk/if_msk.c
  1.6.2.21   +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?201003241713.o2OHDc1d063531>