generic: net: generalize napi_complete_done

Backport upstream commit that improves ethernet performance by a
small amount.

Compile and run tested on ipq8065.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
v19.07.3_mercusys_ac12_duma
Pavel Kubelun 7 years ago committed by Stijn Tintel
parent b2ea46fe23
commit 9aeb7ce8dc
Loading…
Cancel
Save