Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 17:11:01 +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:  <201003241711.o2OHBH56063361@repoman.freebsd.org>

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

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/msk          if_msk.c if_mskreg.h 
  Log:
  SVN rev 205609 on 2010-03-24 17:11:01Z 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.64.2.13  +20 -20    src/sys/dev/msk/if_msk.c
  1.27.2.7   +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?201003241711.o2OHBH56063361>