commit | 2e1af7d74f4f7b4d4c1b0fbf5da3b5f92d9c332f | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Nov 10 14:07:20 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 10 21:09:03 2014 -0500 |
tree | bb3897b6254475a5170fda29b9355cf7af678dfb | |
parent | d21385fadabf249afd2e288a1eae1f093ce9fa38 [diff] |
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 <edumazet@google.com> Fixes: 1a28817282 ("mlx4: use napi_complete_done()") Signed-off-by: David S. Miller <davem@davemloft.net>