Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 20:32:09 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h
Message-ID:  <201011162032.oAGKWfrI091221@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-11-16 20:32:09 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/re           if_re.c 
    sys/pci              if_rlreg.h 
  Log:
  SVN rev 215405 on 2010-11-16 20:32:09Z by yongari
  
  MFC r215017,215025:
    Follow the lead of vendor's interrupt moderation mechanism.
    It seems RTL8169/RTL8168/RTL810xE has a kind of interrupt
    moderation mechanism but it is not documented at all. The magic
    value dramatically reduced number of interrupts without noticeable
    performance drops so apply it to all RTL8169/RTL8169 controllers.
    Vendor's FreeBSD driver also applies it to RTL810xE controllers but
    their Linux driver explicitly cleared the register, so do not
    enable interrupt moderation for RTL810xE controllers.
  
    While I'm here sort 8169 specific registers.
  
    Obtained from:        RealTek FreeBSD driver
  
  MFC r215025:
    Only moderate TX completion interrupts. Relying on taskqueue to
    suppress RX interrupts seems to give better RX performance than
    RX interrupt moderation.
  
  Revision    Changes    Path
  1.160.2.15  +18 -0     src/sys/dev/re/if_re.c
  1.97.2.7    +2 -1      src/sys/pci/if_rlreg.h



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