aboutsummaryrefslogtreecommitdiffstats
path: root/src/svm
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-03-27 18:41:54 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-03-27 19:03:43 +0000
commitd18528f5e26c704f60a3acd7563a539ed9508249 (patch)
treef83565de5ec2e9c7d7a54c0310d65d3efbba585d /src/svm
parentffdc72da4f086e9a62b946970778495bba400e69 (diff)
vcl: support for uword segments
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ibfe203fda5a0c88b26eb50bee8a430dd2cfb7dca
Diffstat (limited to 'src/svm')
-rw-r--r--src/svm/fifo_segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/fifo_segment.c b/src/svm/fifo_segment.c
index f2890cc0bce..15a5323454c 100644
--- a/src/svm/fifo_segment.c
+++ b/src/svm/fifo_segment.c
@@ -312,7 +312,7 @@ fs_chunk_size_is_valid (fifo_segment_header_t * fsh, u32 size)
* with a smaller FIFO.
*/
return size >= FIFO_SEGMENT_MIN_FIFO_SIZE
- && size <= (1 << fsh->max_log2_chunk_size);
+ && size <= (1ULL << fsh->max_log2_chunk_size);
}
static svm_fifo_t *