Date: Tue, 16 Nov 2010 20:34:00 +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: <201011162034.oAGKYPl8091393@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2010-11-16 20:34:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 215406 on 2010-11-16 20:34:00Z 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.95.2.64 +18 -0 src/sys/dev/re/if_re.c 1.67.2.32 +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?201011162034.oAGKYPl8091393>