summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/vpp_host_resources.xml.i4
-rw-r--r--interface-definitions/vpp.xml.in7
2 files changed, 7 insertions, 4 deletions
diff --git a/interface-definitions/include/vpp_host_resources.xml.i b/interface-definitions/include/vpp_host_resources.xml.i
index 7f988ce44..109982bef 100644
--- a/interface-definitions/include/vpp_host_resources.xml.i
+++ b/interface-definitions/include/vpp_host_resources.xml.i
@@ -15,7 +15,7 @@
<validator name="numeric" argument="--range 0-4294967295"/>
</constraint>
</properties>
- <defaultValue>1024</defaultValue>
+ <defaultValue>2048</defaultValue>
</leafNode>
<leafNode name="max-map-count">
<properties>
@@ -28,7 +28,7 @@
<validator name="numeric" argument="--range 0-65535"/>
</constraint>
</properties>
- <defaultValue>3096</defaultValue>
+ <defaultValue>4096</defaultValue>
</leafNode>
<leafNode name="shmmax">
<properties>
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in
index dab0ea308..fa66d6126 100644
--- a/interface-definitions/vpp.xml.in
+++ b/interface-definitions/vpp.xml.in
@@ -427,11 +427,11 @@
<properties>
<help>Skip cores</help>
<valueHelp>
- <format>u32:0-512</format>
+ <format>u32:1-512</format>
<description>Skip cores</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-512"/>
+ <validator name="numeric" argument="--range 1-512"/>
</constraint>
</properties>
</leafNode>
@@ -771,12 +771,14 @@
<help>Main heap size</help>
#include <include/unformat_memory_size.xml.i>
</properties>
+ <defaultValue>3G</defaultValue>
</leafNode>
<leafNode name="main-heap-page-size">
<properties>
<help>Main heap page size</help>
#include <include/unformat_log2_page_size.xml.i>
</properties>
+ <defaultValue>2M</defaultValue>
</leafNode>
<leafNode name="default-hugepage-size">
<properties>
@@ -785,6 +787,7 @@
<script>sudo ${vyos_completion_dir}/list_mem_page_size.py --hugepage_only True </script>
</completionHelp>
</properties>
+ <defaultValue>2M</defaultValue>
</leafNode>
</children>
</node>