summaryrefslogtreecommitdiffstats
path: root/libexec/tftpd/tftp-utils.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-11-08 21:50:50 +0000
committeryongari <yongari@FreeBSD.org>2010-11-08 21:50:50 +0000
commitc9a9210a18d0843ecf409a8efd9f4a816a29ce37 (patch)
tree5f8ea671efb8d35afa34179f5634d7c21e38cc00 /libexec/tftpd/tftp-utils.c
parent1c59b818299a8bb91b6a779829970c2c175207e1 (diff)
downloadFreeBSD-src-c9a9210a18d0843ecf409a8efd9f4a816a29ce37.zip
FreeBSD-src-c9a9210a18d0843ecf409a8efd9f4a816a29ce37.tar.gz
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
Diffstat (limited to 'libexec/tftpd/tftp-utils.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud