summaryrefslogtreecommitdiff
path: root/interface-definitions/vpp.xml.in
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2025-11-10 12:39:20 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2025-11-11 17:11:39 +0200
commitee741870fc153db6642f15a819fc87ee80dba002 (patch)
treeb267b2292d74d195e15ace2579e95d39618230a6 /interface-definitions/vpp.xml.in
parent25224cff345210aaecaa4db95a67bd759af666fb (diff)
downloadvyos-1x-ee741870fc153db6642f15a819fc87ee80dba002.tar.gz
vyos-1x-ee741870fc153db6642f15a819fc87ee80dba002.zip
T7872: VPP XDP with rx-queue-size stuck
Queue sizes must be a power of two and between VLIB_FRAME_SIZE=256 and 65535 https://github.com/FDio/vpp/blob/d39cc2bd9374f9df7e42ad39bb9fb8e2531d3da8/src/plugins/af_xdp/device.c#L588-L608
Diffstat (limited to 'interface-definitions/vpp.xml.in')
-rw-r--r--interface-definitions/vpp.xml.in16
1 files changed, 2 insertions, 14 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in
index 96e7358d8..e10a3409d 100644
--- a/interface-definitions/vpp.xml.in
+++ b/interface-definitions/vpp.xml.in
@@ -588,26 +588,14 @@
<leafNode name="rx-queue-size">
<properties>
<help>Receive queue size</help>
- <valueHelp>
- <format>u32:0-65535</format>
- <description>Size of receive queue</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-65535"/>
- </constraint>
+ #include <include/vpp/queue_size.xml.i>
</properties>
<defaultValue>0</defaultValue>
</leafNode>
<leafNode name="tx-queue-size">
<properties>
<help>Tranceive queue size</help>
- <valueHelp>
- <format>u32:0-65535</format>
- <description>Size of tranceive queue</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-65535"/>
- </constraint>
+ #include <include/vpp/queue_size.xml.i>
</properties>
<defaultValue>0</defaultValue>
</leafNode>