X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fnetdev-dpdk.c;h=fd991abd6f2d664aae0cbcd0f69459e80c48f7e4;hb=8ba0a5227f6e6b50838c157bd303c2d5bf6f4e59;hp=d9676eda948be8a7cdff0fde37262ec49e85bfb7;hpb=595ef8b10ad81c6033df53dfbfdb8c1b01f6de87;p=sliver-openvswitch.git diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index d9676eda9..fd991abd6 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -133,8 +133,6 @@ static struct list dpdk_list OVS_GUARDED_BY(dpdk_mutex) static struct list dpdk_mp_list OVS_GUARDED_BY(dpdk_mutex) = LIST_INITIALIZER(&dpdk_mp_list); -static pthread_t watchdog_thread; - struct dpdk_mp { struct rte_mempool *mp; int mtu; @@ -1105,7 +1103,7 @@ dpdk_class_init(void) "[netdev] up|down", 1, 2, netdev_dpdk_set_admin_state, NULL); - xpthread_create(&watchdog_thread, NULL, dpdk_watchdog, NULL); + ovs_thread_create("dpdk_watchdog", dpdk_watchdog, NULL); return 0; }