summaryrefslogtreecommitdiff
path: root/drivers/net/pasemi_mac.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-11-28 20:57:09 -0600
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:04:24 -0800
commit906674abab0424b466a2db4bb6a890a8c477b10a (patch)
tree967cf65374d0fe39e4c8b83ddb6f68479bf30d50 /drivers/net/pasemi_mac.h
parent61cec3bddc79373a246e2f8eb13e5acdc106f46a (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 'drivers/net/pasemi_mac.h')
0 files changed, 0 insertions, 0 deletions