From f68558b0ccbddb4cc81aca36befa0a7730ee051c Mon Sep 17 00:00:00 2001 From: Jianfeng Tan Date: Wed, 29 Aug 2018 14:24:01 +0000 Subject: [PATCH 7/9] eal: don't start the interrupt mp thread --- lib/librte_eal/common/eal_common_proc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index 9fcb91219..79d9e6bbe 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -615,6 +615,7 @@ rte_mp_channel_init(void) return -1; } +#if 0 if (rte_ctrl_thread_create(&mp_handle_tid, "rte_mp_handle", NULL, mp_handle, NULL) < 0) { RTE_LOG(ERR, EAL, "failed to create mp thead: %s\n", @@ -624,6 +625,10 @@ rte_mp_channel_init(void) mp_fd = -1; return -1; } +#else + RTE_SET_USED(mp_handle); + RTE_SET_USED(mp_handle_tid); +#endif /* unlock the directory */ flock(dir_fd, LOCK_UN); -- 2.17.1