eal: set name when creating a control thread
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 29 Nov 2017 10:02:05 +0000 (11:02 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 8 Dec 2017 09:51:36 +0000 (10:51 +0100)
commit2a2b8cd7d11765c01db3a0242c5274207fbb457f
tree8894d9d8bf57b32e5a8d5f836e438c04ebf7ec64
parent339341e8e126a34381861b7347a8ad4ffb9cb293
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>
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_eal/linuxapp/eal/eal_vfio_mp_sync.c
lib/librte_pdump/rte_pdump.c
lib/librte_vhost/socket.c