Commit 2f10ea11 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 30a10e68
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -253,7 +253,6 @@ 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"));
@@ -266,6 +265,7 @@ spdk_build_eal_cmdline(const struct spdk_env_opts *opts, char **out[])
		if (args == NULL) {
			return -1;
		}
	}
#endif

	*out = args;