Commit 459cd695 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

test/nvme: set DPDK base address for multi-process



Map the DPDK hugepage virtual address space to an area that should not
interfere with randomized mmap() addresses.

Change-Id: Iffc657858f861fc1316f77b68f9f121167d604b1
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 018e6aff
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1080,6 +1080,9 @@ static char *ealargs[] = {
	"-c 0xf", /* This must be the second parameter. It is overwritten by index in main(). */
	"-n 4",
	"--proc-type=auto",
#ifdef __linux__
	"--base-virtaddr=0x1000000000",
#endif
};

int
+3 −0
Original line number Diff line number Diff line
@@ -1194,6 +1194,9 @@ static char *ealargs[] = {
	"-n 4",
	"-m 512",  /* This can be overwritten by index in main(). */
	"--proc-type=auto",
#ifdef __linux__
	"--base-virtaddr=0x1000000000",
#endif
};

int main(int argc, char **argv)