Re: [ovs-dev] [PATCH v2] dpif-netdev: fix race for queues between pmd threads

2015-07-28 Thread Ilya Maximets
I agree. It made sense with my first fix. Fixed and sent again. Thanks. On 27.07.2015 19:58, Daniele Di Proietto wrote: > Thanks for the updated patch. > > One comment below > > On 27/07/2015 13:19, "Ilya Maximets" wrote: > >> Currently pmd threads select queues in pmd_load_queues() according

Re: [ovs-dev] [PATCH v2] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Daniele Di Proietto
Thanks for the updated patch. One comment below On 27/07/2015 13:19, "Ilya Maximets" wrote: >Currently pmd threads select queues in pmd_load_queues() according to >get_n_pmd_threads_on_numa(). This behavior leads to race between pmds, >beacause dp_netdev_set_pmds_on_numa() starts them one by on

[ovs-dev] [PATCH v2] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Currently pmd threads select queues in pmd_load_queues() according to get_n_pmd_threads_on_numa(). This behavior leads to race between pmds, beacause dp_netdev_set_pmds_on_numa() starts them one by one and current number of threads changes incrementally. As a result we may have the following situa