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

2018-04-23 Thread Olivier Matz
On Wed, Apr 18, 2018 at 12:32:24AM +0200, Thomas Monjalon wrote: > 03/04/2018 15:04, Olivier Matz: > > To avoid code duplication, add a parameter to rte_ctrl_thread_create() > > to specify the name of the thread. > > There are some "stats thread" in following examples which could > benefit from th

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

2018-04-23 Thread Olivier Matz
On Tue, Apr 10, 2018 at 05:34:36PM +0100, Burakov, Anatoly wrote: > On 03-Apr-18 2:04 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 > >

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

2018-04-17 Thread Thomas Monjalon
03/04/2018 15:04, Olivier Matz: > To avoid code duplication, add a parameter to rte_ctrl_thread_create() > to specify the name of the thread. There are some "stats thread" in following examples which could benefit from this new API: examples/tep_termination/ examples/vhost/

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

2018-04-10 Thread Burakov, Anatoly
On 03-Apr-18 2:04 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 v2 3/4] eal: set name when creating a control thread

2018-04-03 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