Re: [OpenWrt-Devel] [PATCH] cns3xxx: ethernet - resolve SMP issue

2014-02-27 Thread Felix Fietkau
On 2014-02-21 06:25, Tim Harvey wrote: The combination of r35942 and r35952 causes an issue where eth_schedule_poll() can be called from a different CPU between the call to napi_complete() and the setting of cur_index which can break the rx ring accounting and cause ethernet latency and/or

[OpenWrt-Devel] [PATCH] cns3xxx: ethernet - resolve SMP issue

2014-02-20 Thread Tim Harvey
The combination of r35942 and r35952 causes an issue where eth_schedule_poll() can be called from a different CPU between the call to napi_complete() and the setting of cur_index which can break the rx ring accounting and cause ethernet latency and/or ethernet stalls. The issue can be easilly