diff options
author | Olof Johansson <olof@lixom.net> | 2007-11-29 05:57:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 02:04:24 +0300 |
commit | 906674abab0424b466a2db4bb6a890a8c477b10a (patch) | |
tree | 967cf65374d0fe39e4c8b83ddb6f68479bf30d50 /drivers/net/pasemi_mac.h | |
parent | 61cec3bddc79373a246e2f8eb13e5acdc106f46a (diff) | |
download | linux-906674abab0424b466a2db4bb6a890a8c477b10a.tar.xz |
pasemi_mac: Improve RX interrupt mitigation
pasemi_mac: Improve RX interrupt mitigation
Currently the receive side interrupts will go off on the reception of
a packet, NAPI will poll the ring and keep polling as long as there's
a decent amount of packets to receive.
This is less than optimal, especially for LRO where it's better if we
have a more substantial amount of packets to process at once, to get
the real LRO benefits.
So, set the count threshold to a higher value and use the timeout feature
that will give us an interrupt even if not enough packets have come in
to set off the count threshold.
FIXME: It'd be real nice to have ethtool support for users to tune this
at runtime.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pasemi_mac.h')
0 files changed, 0 insertions, 0 deletions