From: Olof Johansson Date: Thu, 29 Nov 2007 02:57:09 +0000 (-0600) Subject: pasemi_mac: Improve RX interrupt mitigation X-Git-Tag: v2.6.25-rc1~1162^2~572 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=906674abab0424b466a2db4bb6a890a8c477b10a;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed