From: Olof Johansson Date: Sat, 15 Sep 2007 20:53:19 +0000 (-0700) Subject: pasemi_mac: Clean TX ring in poll X-Git-Tag: v2.6.24-rc1~1454^2~508 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=829185e97fba67ededd3eb025147bafcc0ca7557;p=pandora-kernel.git pasemi_mac: Clean TX ring in poll Unfortunately there's no timeout for how long a packet can sit on the TX ring after completion before an interrupt is generated, and we want to have a threshold that's larger than one packet per interrupt. So we have to have a timer that occasionally cleans the TX ring even though there hasn't been an interrupt. Instead of setting up a dedicated timer for this, just clean it in the NAPI poll routine instead. [ Resolved conflicts with napi_struct changes... -DaveM ] Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- Reading git-diff-tree failed