]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39b576bdc4a0f8c54c1f974198632626b129661e
treee89dded2aed2eb2ec03949dcb0aa38d4183f38b3
parenta8ce33face1065a2111a3c6a6d8d2239a5442d88
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