summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vpp.xml.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in
index f69e05168..e7a21ecf1 100644
--- a/interface-definitions/vpp.xml.in
+++ b/interface-definitions/vpp.xml.in
@@ -360,13 +360,19 @@
<properties>
<help>Number of buffers per numa node</help>
<valueHelp>
- <format>u32:0-4294967295</format>
+ <format>u32:16384-4294967295</format>
<description>Number of buffers</description>
</valueHelp>
+ <valueHelp>
+ <format>auto</format>
+ <description>Auto calculate number of buffers per numa node</description>
+ </valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-4294967295"/>
+ <validator name="numeric" argument="--range 16384-4294967295"/>
+ <regex>(auto)</regex>
</constraint>
</properties>
+ <defaultValue>auto</defaultValue>
</leafNode>
<leafNode name="data-size">
<properties>
@@ -379,12 +385,14 @@
<validator name="numeric" argument="--range 0-4294967295"/>
</constraint>
</properties>
+ <defaultValue>2048</defaultValue>
</leafNode>
<leafNode name="page-size">
<properties>
<help>Set the page-size for buffer allocation</help>
#include <include/unformat_log2_page_size.xml.i>
</properties>
+ <defaultValue>default</defaultValue>
</leafNode>
</children>
</node>
@@ -501,6 +509,7 @@
<validator name="numeric" argument="--range 256-8192"/>
</constraint>
</properties>
+ <defaultValue>1024</defaultValue>
</leafNode>
<leafNode name="num-tx-desc">
<properties>
@@ -513,6 +522,7 @@
<validator name="numeric" argument="--range 256-8192"/>
</constraint>
</properties>
+ <defaultValue>1024</defaultValue>
</leafNode>
<leafNode name="num-rx-queues">
<properties>