summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-11-10 16:57:49 +0100
committerFlorin Coras <florin.coras@gmail.com>2020-11-13 15:34:00 +0000
commitf260eb97866978746ebd3f3441dc66e4ff7111cd (patch)
treef6918d7c62e1fbc2f702d4e2cbe6819a2b811d74
parent1ff3ee9553ea0e0210e4ecc87dbb86b2e47921ec (diff)
svm: change high_seg_baseva
Type: fix It appears that the session layer baseva is conflicting with DPDK. 0x2000000000 seem to be working experimentally Configurable with : session { segment-baseva 0x2000000000 } Change-Id: Ie93b9b9eb56a796877d614f78eb5801ea8e5ab31 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
-rw-r--r--src/svm/svm_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svm/svm_common.h b/src/svm/svm_common.h
index ce317229916..ec5e70b83a6 100644
--- a/src/svm/svm_common.h
+++ b/src/svm/svm_common.h
@@ -82,9 +82,9 @@ typedef struct svm_map_region_args_
*/
#if __WORDSIZE == 64
#ifdef CLIB_SANITIZE_ADDR
-#define HIGH_SEGMENT_BASEVA 0x300000000000
+#define HIGH_SEGMENT_BASEVA 0x2000000000
#else /* CLIB_SANITIZE_ADDR */
-#define HIGH_SEGMENT_BASEVA (8ULL << 30) /* 8GB */
+#define HIGH_SEGMENT_BASEVA (128ULL << 30) /* 128GB */
#endif /* CLIB_SANITIZE_ADDR */
#elif __WORDSIZE == 32
#define HIGH_SEGMENT_BASEVA (3584UL << 20) /* 3.5GB */