From: Ben Hutchings Date: Wed, 28 Apr 2010 09:29:42 +0000 (+0000) Subject: sfc: Break NAPI processing after one ring-full of TX completions X-Git-Tag: v2.6.35-rc1~473^2~319 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa236e18047ec178b07fdf3f24f286eef1797842;p=pandora-kernel.git sfc: Break NAPI processing after one ring-full of TX completions Currently TX completions do not count towards the NAPI budget. This means a continuous stream of TX completions can cause the polling function to loop indefinitely with scheduling disabled. To avoid this, follow the common practice of reporting the budget spent after processing one ring-full of TX completions. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed