summaryrefslogtreecommitdiff
path: root/interface-definitions/include/vpp_host_resources.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/vpp_host_resources.xml.i')
-rw-r--r--interface-definitions/include/vpp_host_resources.xml.i35
1 files changed, 35 insertions, 0 deletions
diff --git a/interface-definitions/include/vpp_host_resources.xml.i b/interface-definitions/include/vpp_host_resources.xml.i
new file mode 100644
index 000000000..1706c8c87
--- /dev/null
+++ b/interface-definitions/include/vpp_host_resources.xml.i
@@ -0,0 +1,35 @@
+<!-- include start from vpp_host_resources.xml.i -->
+<node name="host-resources">
+ <properties>
+ <help>Host resources control</help>
+ </properties>
+ <children>
+ <leafNode name="max-map-count">
+ <properties>
+ <help>Maximum number of memory map areas a process may have</help>
+ <valueHelp>
+ <format>u32:65535-2147483647</format>
+ <description>Areas count</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 65535-2147483647"/>
+ </constraint>
+ </properties>
+ <defaultValue>65535</defaultValue>
+ </leafNode>
+ <leafNode name="shmmax">
+ <properties>
+ <help>Maximum shared memory segment size that can be created</help>
+ <valueHelp>
+ <format>u32:0-18446744073709551612</format>
+ <description>Size in bytes</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-18446744073709551612"/>
+ </constraint>
+ </properties>
+ <defaultValue>2147483648</defaultValue>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->