staging: octeon-ethernet: make dropped packets to consume NAPI budget
authorAaro Koskinen <aaro.koskinen@iki.fi>
Thu, 5 Sep 2013 18:43:59 +0000 (21:43 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 17 Sep 2013 08:09:49 +0000 (10:09 +0200)
commitda029d0c6757972d19d88b0289ded58f4f704236
treeeb126b4077afb8d4b1b9e7a6ca6eeceacecae126
parent272b98c6455f00884f0350f775c5342358ebb73f
staging: octeon-ethernet: make dropped packets to consume NAPI budget

We should count also dropped packets, otherwise the NAPI handler may
end up running too long.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org
Cc: linux-mips@linux-mips.org
Cc: David Daney <david.daney@cavium.com>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: richard@nod.at
Patchwork: https://patchwork.linux-mips.org/patch/5809/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/staging/octeon/ethernet-rx.c