summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-09-10 10:31:19 +0300
committerGitHub <noreply@github.com>2025-09-10 10:31:19 +0300
commit41eae8e050fc9afeec7c645ee33da8fdb342056c (patch)
tree59bd65b2200879bbb2b6efcc67cbb4a8af795a24 /interface-definitions
parent1124d3f9aa0531489bc8f622143afcb6116e8f47 (diff)
parentb0ae930a9fcb3093d3069bb8296a2f572e6a3d93 (diff)
downloadvyos-1x-41eae8e050fc9afeec7c645ee33da8fdb342056c.tar.gz
vyos-1x-41eae8e050fc9afeec7c645ee33da8fdb342056c.zip
Merge pull request #4690 from natali-rs1985/T7757
T7757: VPP Verify buffers for rx/tx queues
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>