From: Alexander Duyck Date: Fri, 20 Feb 2009 04:39:04 +0000 (-0800) Subject: igb: update napi polling to consolidate function and return correct values X-Git-Tag: v2.6.30-rc1~662^2~611 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46544258de71d7e32342ee71a25146ec6e2e6e47;p=pandora-kernel.git igb: update napi polling to consolidate function and return correct values igb is currently not returning the correct values for napi. In addition it is doing more work than necessary since it will not exit polling until work_done is equal to zero. This patch makes the following changes: 1. Consolidates msi-x and non-msi polling routines. 2. Corrects return values for polling routines. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed