[PATCH v2] staging: octeon: drop atomic usage from rx counters
David Daney
ddaney at caviumnetworks.com
Fri Feb 19 20:59:24 UTC 2016
On 02/19/2016 12:47 PM, Aaro Koskinen wrote:
> 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 at iki.fi>
Acked-by: David Daney <david.daney at cavium.com>
> ---
>
> Replaces this patch: http://marc.info/?t=145583408300008&r=1&w=2
>
> drivers/staging/octeon/ethernet-rx.c | 23 +++--------------------
> drivers/staging/octeon/ethernet.c | 13 +------------
> 2 files changed, 4 insertions(+), 32 deletions(-)
>
More information about the devel
mailing list