env_dpdk: only set proc-type and base-virtaddr for multiprocess
These options are only necessary for applications that intend to be used in a multi-process configuration. Change-Id: I3e1fa0682611d92267d0ad1b3f2016dc926b96b6 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
30a10e68a4
commit
2f10ea11db
@ -253,18 +253,18 @@ spdk_build_eal_cmdline(const struct spdk_env_opts *opts, char **out[])
|
||||
if (args == NULL) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* set the base virtual address */
|
||||
args = spdk_push_arg(args, &argcount, _sprintf_alloc("--base-virtaddr=0x1000000000"));
|
||||
if (args == NULL) {
|
||||
return -1;
|
||||
}
|
||||
/* set the base virtual address */
|
||||
args = spdk_push_arg(args, &argcount, _sprintf_alloc("--base-virtaddr=0x1000000000"));
|
||||
if (args == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* set the process type */
|
||||
args = spdk_push_arg(args, &argcount, _sprintf_alloc("--proc-type=auto"));
|
||||
if (args == NULL) {
|
||||
return -1;
|
||||
/* set the process type */
|
||||
args = spdk_push_arg(args, &argcount, _sprintf_alloc("--proc-type=auto"));
|
||||
if (args == NULL) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user