summaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-11-23 16:25:21 +0100
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-11-24 15:56:08 +0100
commit61559029dacaac95b410fcb39e93134ee4858591 (patch)
tree04af1a895c008f9f9b2cce70faf80e2b4e1ae65d /src/vlib/buffer.h
parentf06b3bdd9232e722c04062de58da5b45a115bc34 (diff)
buffers: add page-size config
Type: feature Add a `buffers {page-size}` parameter to specify page size for buffers. This also fixes an issue with the parsing in unformat_log2_page_size. Change-Id: I7d7b1fa0bb7febaa7509cf2c625882f07eeafaad Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vlib/buffer.h')
-rw-r--r--src/vlib/buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h
index d1a00bb3a45..297240d45f7 100644
--- a/src/vlib/buffer.h
+++ b/src/vlib/buffer.h
@@ -469,6 +469,7 @@ typedef struct
u32 buffers_per_numa;
u16 ext_hdr_size;
u32 default_data_size;
+ clib_mem_page_sz_t log2_page_size;
/* logging */
vlib_log_class_t log_default;