diff options
author | Florin Coras <fcoras@cisco.com> | 2020-09-29 10:27:07 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-09-29 20:13:29 +0000 |
commit | e2c9f234e1a3a657595d61996e376cf799f0a54b (patch) | |
tree | ab78a3c0ce15069480e52851dbfc8d14aa128aca /src | |
parent | e7f70d90fe9c34fe61674200a8c4621a81aebd36 (diff) |
svm: fix max fifo size
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I52ac28ed6d420f03852a425b5a16a7eb8e94b628
Diffstat (limited to 'src')
-rw-r--r-- | src/svm/fifo_segment.h | 2 |
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_ |