Re: [PATCH net V2] net/mlx5e: Disable preemption when doing TC statistics upcall

2017-02-14 Thread David Miller
From: Or Gerlitz Date: Sun, 12 Feb 2017 11:21:31 +0200 > When called by HW offloading drivers, the TC action (e.g > net/sched/act_mirred.c) code uses this_cpu logic, e.g > > _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets) > > per the kernel documention, preemption should be dis

[PATCH net V2] net/mlx5e: Disable preemption when doing TC statistics upcall

2017-02-12 Thread Or Gerlitz
When called by HW offloading drivers, the TC action (e.g net/sched/act_mirred.c) code uses this_cpu logic, e.g _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets) per the kernel documention, preemption should be disabled, add that. Before the fix, when running with CONFIG_PREEMPT se