From 80e13a94de1eb6a2e1d531c5cee2ab38d6ca59e1 Mon Sep 17 00:00:00 2001 From: Yalei Wang Date: Tue, 14 Aug 2018 19:36:43 +0800 Subject: Fix: stop pci probe in stack integration type 4 Only use DPDK for memory allocation of DMM in this senario. Change-Id: I64f097dfc3d5c6942a380ac80d80944916c506c6 Signed-off-by: Yalei Wang --- src/framework/lib_common_mem/common_buf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/framework/lib_common_mem') diff --git a/src/framework/lib_common_mem/common_buf.c b/src/framework/lib_common_mem/common_buf.c index 897445a..7bc6fc4 100644 --- a/src/framework/lib_common_mem/common_buf.c +++ b/src/framework/lib_common_mem/common_buf.c @@ -124,6 +124,8 @@ nscomm_pal_module_init (common_mem_pal_module_info * pinfo, u8 app_mode) { sprintf (name, "dmm_app_%ld", (long) getpid ()); PARA2_SET (argv, tempargv, agindex, "--file-prefix", name); + PARA1_SET (argv, tempargv, agindex, "--no-pci"); + // TODO: the size of the memory should not be fixed PARA2_SET (argv, tempargv, agindex, "-m", "32"); } -- cgit 1.2.3-korg