Re: [dpdk-dev] [PATCH v3 3/5] eal: set name when creating a control thread

2018-04-27 Thread Burakov, Anatoly
On 27-Apr-18 5:17 PM, Tan, Jianfeng wrote: On 4/27/2018 11:46 PM, Tan, Jianfeng wrote: Hi Olivier, After this patch, I find the two IPC threads block at pthread_barrier_wait(), and never wake up. Please refer below for more information. The system is Ubuntu 16.04. On 4/24/2018 10:46 PM, O

Re: [dpdk-dev] [PATCH v3 3/5] eal: set name when creating a control thread

2018-04-27 Thread Tan, Jianfeng
On 4/27/2018 11:46 PM, Tan, Jianfeng wrote: Hi Olivier, After this patch, I find the two IPC threads block at pthread_barrier_wait(), and never wake up. Please refer below for more information. The system is Ubuntu 16.04. On 4/24/2018 10:46 PM, Olivier Matz wrote: To avoid code duplicatio

Re: [dpdk-dev] [PATCH v3 3/5] eal: set name when creating a control thread

2018-04-27 Thread Tan, Jianfeng
Hi Olivier, After this patch, I find the two IPC threads block at pthread_barrier_wait(), and never wake up. Please refer below for more information. The system is Ubuntu 16.04. On 4/24/2018 10:46 PM, Olivier Matz wrote: To avoid code duplication, add a parameter to rte_ctrl_thread_create()

Re: [dpdk-dev] [PATCH v3 3/5] eal: set name when creating a control thread

2018-04-24 Thread Burakov, Anatoly
On 24-Apr-18 3:46 PM, Olivier Matz wrote: To avoid code duplication, add a parameter to rte_ctrl_thread_create() to specify the name of the thread. This requires to add a wrapper for the thread start routine in rte_thread_init(), which will first wait that the thread is configured. Signed-off-b

[dpdk-dev] [PATCH v3 3/5] eal: set name when creating a control thread

2018-04-24 Thread Olivier Matz
To avoid code duplication, add a parameter to rte_ctrl_thread_create() to specify the name of the thread. This requires to add a wrapper for the thread start routine in rte_thread_init(), which will first wait that the thread is configured. Signed-off-by: Olivier Matz --- drivers/net/kni/rte_et