commit | ec20f36bb41aec786407b525ac1c2ba982c925fd | [log] [tgz] |
---|---|---|
author | Dwip N. Banerjee <dnbanerg@us.ibm.com> | Wed Nov 18 19:12:23 2020 -0600 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Nov 20 19:50:34 2020 -0800 |
tree | 5aa4b3fe25513836126ee318afbd68e54787905f | |
parent | 9a87c3fca2372af3177cb454c7aa381c7080307f [diff] |
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: Dwip N. Banerjee <dnbanerg@us.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>