summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-mtu-1450-16000.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-28 19:05:34 +0100
committerChristian Poessinger <christian@poessinger.com>2020-10-28 19:05:34 +0100
commit8e11d9cc51b16949f42cde3cb9a002fe3ab92228 (patch)
tree705e7cdc9bc76ecb958d950717c2edcc3fa62150 /interface-definitions/include/interface-mtu-1450-16000.xml.i
parent9cf806a8b60af3b9ce5f1d8141099879c8faef69 (diff)
downloadvyos-1x-8e11d9cc51b16949f42cde3cb9a002fe3ab92228.tar.gz
vyos-1x-8e11d9cc51b16949f42cde3cb9a002fe3ab92228.zip
mtu: T2630: add support for ethernet MTU up to 16000 bytes
There is a Myricom 10G card with 16k MTU available.
Diffstat (limited to 'interface-definitions/include/interface-mtu-1450-16000.xml.i')
-rw-r--r--interface-definitions/include/interface-mtu-1450-16000.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-mtu-1450-16000.xml.i b/interface-definitions/include/interface-mtu-1450-16000.xml.i
new file mode 100644
index 000000000..41dd5fb00
--- /dev/null
+++ b/interface-definitions/include/interface-mtu-1450-16000.xml.i
@@ -0,0 +1,16 @@
+<!-- included start from interface-mtu-1450-16000.xml.i -->
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>1450-16000</format>
+ <description>Maximum Transmission Unit in byte</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1450-16000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 1450 and 16000</constraintErrorMessage>
+ </properties>
+ <defaultValue>1500</defaultValue>
+</leafNode>
+<!-- included end -->