diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-10-11 23:49:06 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-10-11 23:49:06 +0000 |
commit | 5e067e5fc4321f84090d4c1a2e2c7f7686c23b6a (patch) | |
tree | 8bad53b22139e5f2677feb13b7b53c1820297bc2 /sys/dev/cardbus/if_re_cardbus.c | |
parent | f828654aa5156ffe2be511bb7e84c92fd548445c (diff) |
Use hardware timer to simulate interrupt moderation. Old devices will no
longer be livelocked when they are receiving on GigE line. Newer devices
also gain well controlled interrupt rate.
If hardware supports interrupt moderation (e.g. 8168B, 8168C), you could
also use hardware based interrupt moderation, however, due to lack of
necessary information it does not work as reliably as simulated interrupt
moderation. It is _not_ recommended currently.
By default, PCIe devices' simulated interrupt moderation timer is set to
75us, while PCI devices' is set to 125us.
From sephe@DragonFly
Diffstat (limited to 'sys/dev/cardbus/if_re_cardbus.c')
0 files changed, 0 insertions, 0 deletions