aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYalei Wang <william.wangyalei@huawei.com>2018-08-14 19:36:43 +0800
committerYalei Wang <william.wangyalei@huawei.com>2018-08-14 19:36:43 +0800
commit80e13a94de1eb6a2e1d531c5cee2ab38d6ca59e1 (patch)
tree16d7277d193214ba1cdb0ba2ef83b2c92786eed1
parentf5c43ee4186de1f12ea2a69ec99afc0b3b2b8615 (diff)
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 <william.wangyalei@huawei.com>
-rw-r--r--src/framework/lib_common_mem/common_buf.c2
1 files changed, 2 insertions, 0 deletions
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");
}