From: Olof Johansson Date: Thu, 29 Nov 2007 02:56:54 +0000 (-0600) Subject: pasemi_mac: Fix TX cleaning X-Git-Tag: v2.6.25-rc1~1162^2~573 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61cec3bddc79373a246e2f8eb13e5acdc106f46a;p=pandora-kernel.git pasemi_mac: Fix TX cleaning pasemi_mac: Fix TX cleaning This is a bit awkward. We don't have a timer-delayed interrupt on TX complete, but we have a count threshold. So set that reasonably high (32 packets), and schedule the NAPI poll when it goes off. Also bump a regular timer that will take care of rotting packets for the last 1..31 ones in case we don't trigger a TX interrupt (and there's no RX activity that would otherwise trigger the poll). The longer-term fix is to separate TX from RX NAPI and do two separate poll loops. Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed