From: Ioana Ciocoi Radulescu <ruxandra.radule...@nxp.com> Date: Mon, 8 Oct 2018 14:16:31 +0000
> Until now, both Rx and Tx confirmation frames handled during > NAPI poll were counted toward the NAPI budget. However, Tx > confirmations are lighter to process than Rx frames, which can > skew the amount of work actually done inside one NAPI cycle. > > Update the code to only count Rx frames toward the NAPI budget > and set a separate threshold on how many Tx conf frames can be > processed in one poll cycle. > > The NAPI poll routine stops when either the budget is consumed > by Rx frames or when Tx confirmation frames reach this threshold. > > Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com> Applied.