diff options
author | Olof Johansson <olof@lixom.net> | 2007-11-28 20:57:09 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:04:24 -0800 |
commit | 906674abab0424b466a2db4bb6a890a8c477b10a (patch) | |
tree | 967cf65374d0fe39e4c8b83ddb6f68479bf30d50 /ipc/shm.c | |
parent | 61cec3bddc79373a246e2f8eb13e5acdc106f46a (diff) |
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 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions