]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:39:27 +0000 (07:39 -0700)
commited12cd612a0ca95162c0505a3fcd94fd047a8928
tree4a34452f03952e22cfe3721d19431255cebd5ded
parentae18c5c62570247eab1178e2db28539a653ac5b5
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>
Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c