summaryrefslogtreecommitdiffstats
path: root/src/svm/fifo_segment.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-09-29 10:27:07 -0700
committerDave Barach <openvpp@barachs.net>2020-09-29 20:13:29 +0000
commite2c9f234e1a3a657595d61996e376cf799f0a54b (patch)
treeab78a3c0ce15069480e52851dbfc8d14aa128aca /src/svm/fifo_segment.h
parente7f70d90fe9c34fe61674200a8c4621a81aebd36 (diff)
svm: fix max fifo size
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I52ac28ed6d420f03852a425b5a16a7eb8e94b628
Diffstat (limited to 'src/svm/fifo_segment.h')
-rw-r--r--src/svm/fifo_segment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/fifo_segment.h b/src/svm/fifo_segment.h
index ee5c24d04bb..d3ce59c81b5 100644
--- a/src/svm/fifo_segment.h
+++ b/src/svm/fifo_segment.h
@@ -29,7 +29,7 @@ typedef enum
#define FIFO_SEGMENT_MIN_LOG2_FIFO_SIZE 12 /**< 4kB min fifo size */
#define FIFO_SEGMENT_MIN_FIFO_SIZE 4096 /**< 4kB min fifo size */
-#define FIFO_SEGMENT_MAX_FIFO_SIZE (2 << 30) /**< 2GB max fifo size */
+#define FIFO_SEGMENT_MAX_FIFO_SIZE (2ULL << 30) /**< 2GB max fifo size */
#define FIFO_SEGMENT_ALLOC_BATCH_SIZE 32 /* Allocation quantum */
typedef enum fifo_segment_flags_