eal: set name when creating a control thread
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 24 Apr 2018 14:46:49 +0000 (16:46 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 22:51:31 +0000 (00:51 +0200)
commit6383d2642b62f430c0ddb991dcfa75a5b2a4aec6
tree85facd75f19fb0b0c1fdb98bea185b07c1d514c7
parent9e5afc72c9094192400c219660a314f0778d9c50
eal: set name when creating a control thread

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 <olivier.matz@6wind.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
drivers/net/kni/rte_eth_kni.c
lib/librte_eal/common/eal_common_proc.c
lib/librte_eal/common/eal_common_thread.c
lib/librte_eal/common/include/rte_lcore.h
lib/librte_eal/linuxapp/eal/eal_interrupts.c
lib/librte_eal/linuxapp/eal/eal_timer.c
lib/librte_vhost/socket.c