X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=lib%2Flibrte_vhost%2Fsocket.c;fp=lib%2Flibrte_vhost%2Fsocket.c;h=43d699ef71a7a94ebeba5a76764accc5e54545c6;hp=905d040a4be12b2f84af244bc3d676fd9dc6b536;hb=2a2b8cd7d11765c01db3a0242c5274207fbb457f;hpb=339341e8e126a34381861b7347a8ad4ffb9cb293 diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c index 905d040a4b..43d699ef71 100644 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c @@ -470,7 +470,7 @@ vhost_user_reconnect_init(void) } TAILQ_INIT(&reconn_list.head); - ret = rte_ctrl_thread_create(&reconn_tid, NULL, + ret = rte_ctrl_thread_create(&reconn_tid, "vhost_reconnect", NULL, vhost_user_client_reconnect, NULL); if (ret != 0) { RTE_LOG(ERR, VHOST_CONFIG, "failed to create reconnect thread"); @@ -834,8 +834,9 @@ rte_vhost_driver_start(const char *path) return -1; if (fdset_tid == 0) { - int ret = rte_ctrl_thread_create(&fdset_tid, NULL, - fdset_event_dispatch, &vhost_user.fdset); + int ret = rte_ctrl_thread_create(&fdset_tid, + "vhost_dispatch", NULL, fdset_event_dispatch, + &vhost_user.fdset); if (ret != 0) RTE_LOG(ERR, VHOST_CONFIG, "failed to create fdset handling thread");