Skip to content
Commit 2e1af7d7 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

mlx4: restore conditional call to napi_complete_done()

After commit 1a288172

 ("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: default avatarEric Dumazet <edumazet@google.com>
Fixes: 1a288172

 ("mlx4: use napi_complete_done()")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d21385fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment