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: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
018e6afff2
commit
459cd69571
@ -1080,6 +1080,9 @@ static char *ealargs[] = {
|
|||||||
"-c 0xf", /* This must be the second parameter. It is overwritten by index in main(). */
|
"-c 0xf", /* This must be the second parameter. It is overwritten by index in main(). */
|
||||||
"-n 4",
|
"-n 4",
|
||||||
"--proc-type=auto",
|
"--proc-type=auto",
|
||||||
|
#ifdef __linux__
|
||||||
|
"--base-virtaddr=0x1000000000",
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -1194,6 +1194,9 @@ static char *ealargs[] = {
|
|||||||
"-n 4",
|
"-n 4",
|
||||||
"-m 512", /* This can be overwritten by index in main(). */
|
"-m 512", /* This can be overwritten by index in main(). */
|
||||||
"--proc-type=auto",
|
"--proc-type=auto",
|
||||||
|
#ifdef __linux__
|
||||||
|
"--base-virtaddr=0x1000000000",
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
Loading…
Reference in New Issue
Block a user