From: Eric Dumazet Date: Mon, 10 Nov 2014 22:07:20 +0000 (-0800) Subject: mlx4: restore conditional call to napi_complete_done() X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~230 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e1af7d74f4f7b4d4c1b0fbf5da3b5f92d9c332f;p=pandora-kernel.git mlx4: restore conditional call to napi_complete_done() After commit 1a28817282 ("mlx4: use napi_complete_done()") we ended up calling napi_complete_done() in the case NAPI poll consumed all its budget. This added extra interrupt pressure, this patch restores proper behavior. Signed-off-by: Eric Dumazet Fixes: 1a28817282 ("mlx4: use napi_complete_done()") Signed-off-by: David S. Miller --- Reading git-diff-tree failed