Skip to content
Commit ec20f36b authored by Dwip N. Banerjee's avatar Dwip N. Banerjee Committed by Jakub Kicinski
Browse files

ibmvnic: Correctly re-enable interrupts in NAPI polling routine



If the current NAPI polling loop exits without completing it's
budget, only re-enable interrupts if there are no entries remaining
in the queue and napi_complete_done is successful. If there are entries
remaining on the queue that were missed, restart the polling loop.

Signed-off-by: default avatarDwip N. Banerjee <dnbanerg@us.ibm.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9a87c3fc
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