From 61559029dacaac95b410fcb39e93134ee4858591 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Mon, 23 Nov 2020 16:25:21 +0100 Subject: 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 --- src/vpp/conf/startup.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/vpp/conf/startup.conf') diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf index 864de11251f..270160217a0 100644 --- a/src/vpp/conf/startup.conf +++ b/src/vpp/conf/startup.conf @@ -99,6 +99,11 @@ cpu { ## Size of buffer data area ## Default is 2048 # default data-size 2048 + + ## Size of the memory pages allocated for buffer data + ## Default will try 'default-hugepage' then 'default' + ## you can also pass a size in K/M/G e.g. '8M' + # page-size default-hugepage # } # dpdk { -- cgit 1.2.3-korg