staging: octeon: drop atomic usage from rx counters
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 19 Feb 2016 20:47:12 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:14:01 +0000 (15:14 -0800)
commitdcf24f77e4b4acac0f82f0b435541360a5a515ab
treecfb79a698216c08950de7aa935a839e7b1cc7265
parenta89e28e3e20f141b777d544b9342be6864dd1577
staging: octeon: drop atomic usage from rx counters

We have only one NAPI poll running at a time, so virtual port rx counters
can be updated normally.

Update of rx_dropped can still race with the gathering of statistics,
but full accuracy is not required there.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c
drivers/staging/octeon/ethernet.c