forcedeth: tx max work
authorAyaz Abdulla <aabdulla@nvidia.com>
Tue, 23 Jan 2007 17:00:56 +0000 (12:00 -0500)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:48 +0000 (16:58 -0500)
commit4e16ed1b0e17a3832310031e2ddaeb0914eb837d
tree4871cd0af1bfb95c70498bd3f1e9722b8e264eba
parentf0734ab658390380079369f7090dcf7aa226f394
forcedeth: tx max work

This patch adds a limit to how much tx work can be done in each
iteration of tx processing. If the max limit is reached, remaining tx
completions will be handled by timer interrupt.

Signed-Off-By: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/forcedeth.c