From 78c896b3b3127515478090c19447e27dc406427e Mon Sep 17 00:00:00 2001 From: Jianfeng Tan Date: Mon, 18 Nov 2019 06:59:50 +0000 Subject: TLDKv2 Signed-off-by: Jianfeng Tan Signed-off-by: Jielong Zhou Signed-off-by: Jian Zhang Signed-off-by: Chen Zhao Change-Id: I55c39de4c6cd30f991f35631eb507f770230f08e --- ...1-eal-don-t-start-the-interrupt-mp-thread.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dpdk/dpdk-v18.11_patches/0001-eal-don-t-start-the-interrupt-mp-thread.patch (limited to 'dpdk/dpdk-v18.11_patches/0001-eal-don-t-start-the-interrupt-mp-thread.patch') diff --git a/dpdk/dpdk-v18.11_patches/0001-eal-don-t-start-the-interrupt-mp-thread.patch b/dpdk/dpdk-v18.11_patches/0001-eal-don-t-start-the-interrupt-mp-thread.patch new file mode 100644 index 0000000..770bf05 --- /dev/null +++ b/dpdk/dpdk-v18.11_patches/0001-eal-don-t-start-the-interrupt-mp-thread.patch @@ -0,0 +1,35 @@ +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 + -- cgit 1.2.3-korg