net: netsec: remove loops in napi Rx process
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 19 Jun 2019 10:04:01 +0000 (13:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 14:28:20 +0000 (10:28 -0400)
commit9371a56f7101cc3f12b57db4bfbb6159205211f4
treee89dded2aed2eb2ec03949dcb0aa38d4183f38b3
parent39e3622edeffa63c2871153d8743c5825b139968
net: netsec: remove loops in napi Rx process

netsec_process_rx was running in a loop trying to process as many packets
as possible before re-enabling interrupts. With the recent DMA changes
this is not needed anymore as we manage to consume all the budget without
looping over the function.
Since it has no performance penalty let's remove that and simplify the Rx
path a bit

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/socionext/netsec.c