From: Ben Hutchings Date: Fri, 20 Mar 2009 13:30:37 +0000 (+0000) Subject: sfc: Implement adaptive IRQ moderation X-Git-Tag: v2.6.30-rc1~662^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fb70fd1b57707a5c7b9fb167b7790b2cba13f04;p=pandora-kernel.git sfc: Implement adaptive IRQ moderation Calculate a score for each 1000 IRQs: - TX completions are worth 1 point - RX completions are worth 4 if merged using LRO or 2 otherwise Reduce moderation if the score is less than 10000, down to a minimum of 5 us. Increase moderation if the score is more than 20000, up to the specified maximum. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed