summaryrefslogtreecommitdiff
path: root/interface-definitions
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
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')
-rw-r--r--interface-definitions/include/interface-mtu-1200-16000.xml.i16
-rw-r--r--interface-definitions/include/interface-mtu-1200-9000.xml.i16
-rw-r--r--interface-definitions/include/interface-mtu-1450-16000.xml.i16
-rw-r--r--interface-definitions/include/interface-mtu-1450-9000.xml.i16
-rw-r--r--interface-definitions/include/interface-mtu-64-8024.xml.i2
-rw-r--r--interface-definitions/include/interface-mtu-68-1500.xml.i2
-rw-r--r--interface-definitions/include/interface-mtu-68-16000.xml.i16
-rw-r--r--interface-definitions/include/interface-mtu-68-9000.xml.i16
-rw-r--r--interface-definitions/include/vif-s.xml.i4
-rw-r--r--interface-definitions/include/vif.xml.i2
-rw-r--r--interface-definitions/interfaces-bonding.xml.in2
-rw-r--r--interface-definitions/interfaces-ethernet.xml.in2
-rw-r--r--interface-definitions/interfaces-geneve.xml.in2
-rw-r--r--interface-definitions/interfaces-l2tpv3.xml.in2
-rw-r--r--interface-definitions/interfaces-macsec.xml.in2
-rw-r--r--interface-definitions/interfaces-pseudo-ethernet.xml.in2
-rw-r--r--interface-definitions/interfaces-vxlan.xml.in2
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in2
-rw-r--r--interface-definitions/interfaces-wirelessmodem.xml.in2
19 files changed, 62 insertions, 62 deletions
diff --git a/interface-definitions/include/interface-mtu-1200-16000.xml.i b/interface-definitions/include/interface-mtu-1200-16000.xml.i
new file mode 100644
index 000000000..04b5ec8ac
--- /dev/null
+++ b/interface-definitions/include/interface-mtu-1200-16000.xml.i
@@ -0,0 +1,16 @@
+<!-- included start from interface-mtu-1200-16000.xml.i -->
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>1200-16000</format>
+ <description>Maximum Transmission Unit in byte</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1200-16000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 1200 and 16000</constraintErrorMessage>
+ </properties>
+ <defaultValue>1500</defaultValue>
+</leafNode>
+<!-- included end -->
diff --git a/interface-definitions/include/interface-mtu-1200-9000.xml.i b/interface-definitions/include/interface-mtu-1200-9000.xml.i
deleted file mode 100644
index 387e60fa5..000000000
--- a/interface-definitions/include/interface-mtu-1200-9000.xml.i
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- included start from interface-mtu-1200-9000.xml.i -->
-<leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>1200-9000</format>
- <description>Maximum Transmission Unit</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1200-9000"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 1200 and 9000</constraintErrorMessage>
- </properties>
- <defaultValue>1500</defaultValue>
-</leafNode>
-<!-- included end -->
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 -->
diff --git a/interface-definitions/include/interface-mtu-1450-9000.xml.i b/interface-definitions/include/interface-mtu-1450-9000.xml.i
deleted file mode 100644
index 3fc961051..000000000
--- a/interface-definitions/include/interface-mtu-1450-9000.xml.i
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- included start from interface-mtu-1450-9000.xml.i -->
-<leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>1450-9000</format>
- <description>Maximum Transmission Unit</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1450-9000"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 1450 and 9000</constraintErrorMessage>
- </properties>
- <defaultValue>1500</defaultValue>
-</leafNode>
-<!-- included end -->
diff --git a/interface-definitions/include/interface-mtu-64-8024.xml.i b/interface-definitions/include/interface-mtu-64-8024.xml.i
index f51e098c1..0a455bc64 100644
--- a/interface-definitions/include/interface-mtu-64-8024.xml.i
+++ b/interface-definitions/include/interface-mtu-64-8024.xml.i
@@ -4,7 +4,7 @@
<help>Maximum Transmission Unit (MTU)</help>
<valueHelp>
<format>64-8024</format>
- <description>Maximum Transmission Unit</description>
+ <description>Maximum Transmission Unit in byte</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 64-8024"/>
diff --git a/interface-definitions/include/interface-mtu-68-1500.xml.i b/interface-definitions/include/interface-mtu-68-1500.xml.i
index 0563e0023..78c2c6920 100644
--- a/interface-definitions/include/interface-mtu-68-1500.xml.i
+++ b/interface-definitions/include/interface-mtu-68-1500.xml.i
@@ -4,7 +4,7 @@
<help>Maximum Transmission Unit (MTU)</help>
<valueHelp>
<format>68-1500</format>
- <description>Maximum Transmission Unit</description>
+ <description>Maximum Transmission Unit in byte</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 68-1500"/>
diff --git a/interface-definitions/include/interface-mtu-68-16000.xml.i b/interface-definitions/include/interface-mtu-68-16000.xml.i
new file mode 100644
index 000000000..9f18464bf
--- /dev/null
+++ b/interface-definitions/include/interface-mtu-68-16000.xml.i
@@ -0,0 +1,16 @@
+<!-- included start from interface-mtu-68-16000.xml.i -->
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>68-16000</format>
+ <description>Maximum Transmission Unit in byte</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 68-16000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 68 and 16000</constraintErrorMessage>
+ </properties>
+ <defaultValue>1500</defaultValue>
+</leafNode>
+<!-- included end -->
diff --git a/interface-definitions/include/interface-mtu-68-9000.xml.i b/interface-definitions/include/interface-mtu-68-9000.xml.i
deleted file mode 100644
index 82d0ed82b..000000000
--- a/interface-definitions/include/interface-mtu-68-9000.xml.i
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- included start from interface-mtu-68-9000.xml.i -->
-<leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>68-9000</format>
- <description>Maximum Transmission Unit</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 68-9000"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 68 and 9000</constraintErrorMessage>
- </properties>
- <defaultValue>1500</defaultValue>
-</leafNode>
-<!-- included end -->
diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i
index 3a04b10d9..ab556489f 100644
--- a/interface-definitions/include/vif-s.xml.i
+++ b/interface-definitions/include/vif-s.xml.i
@@ -44,7 +44,7 @@
</children>
</node>
#include <include/interface-mac.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
<tagNode name="vif-c">
<properties>
<help>QinQ TAG-C Virtual Local Area Network (VLAN) ID</help>
@@ -61,7 +61,7 @@
#include <include/interface-disable-link-detect.xml.i>
#include <include/interface-disable.xml.i>
#include <include/interface-mac.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
#include <include/interface-vrf.xml.i>
</children>
</tagNode>
diff --git a/interface-definitions/include/vif.xml.i b/interface-definitions/include/vif.xml.i
index a0f7c0bc8..3369d0d7c 100644
--- a/interface-definitions/include/vif.xml.i
+++ b/interface-definitions/include/vif.xml.i
@@ -63,7 +63,7 @@
</children>
</node>
#include <include/interface-mac.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
</children>
</tagNode>
<!-- included end -->
diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in
index 4e2c61d07..a72ffa01e 100644
--- a/interface-definitions/interfaces-bonding.xml.in
+++ b/interface-definitions/interfaces-bonding.xml.in
@@ -170,7 +170,7 @@
</leafNode>
</children>
</node>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
<leafNode name="primary">
<properties>
<help>Primary device interface</help>
diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in
index a19a766d3..8ba09f7c4 100644
--- a/interface-definitions/interfaces-ethernet.xml.in
+++ b/interface-definitions/interfaces-ethernet.xml.in
@@ -79,7 +79,7 @@
</children>
</node>
#include <include/interface-mac.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
<node name="offload-options">
<properties>
<help>Configurable offload options</help>
diff --git a/interface-definitions/interfaces-geneve.xml.in b/interface-definitions/interfaces-geneve.xml.in
index 320dfd64d..25bf12bfe 100644
--- a/interface-definitions/interfaces-geneve.xml.in
+++ b/interface-definitions/interfaces-geneve.xml.in
@@ -35,7 +35,7 @@
</children>
</node>
#include <include/interface-mac.xml.i>
- #include <include/interface-mtu-1450-9000.xml.i>
+ #include <include/interface-mtu-1450-16000.xml.i>
<leafNode name="remote">
<properties>
<help>Remote address of GENEVE tunnel</help>
diff --git a/interface-definitions/interfaces-l2tpv3.xml.in b/interface-definitions/interfaces-l2tpv3.xml.in
index 3a878ad76..c347e0926 100644
--- a/interface-definitions/interfaces-l2tpv3.xml.in
+++ b/interface-definitions/interfaces-l2tpv3.xml.in
@@ -76,7 +76,7 @@
</constraint>
</properties>
</leafNode>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
<leafNode name="peer-session-id">
<properties>
<help>Peer session identifier</help>
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in
index 068e31449..a4035ea1f 100644
--- a/interface-definitions/interfaces-macsec.xml.in
+++ b/interface-definitions/interfaces-macsec.xml.in
@@ -107,7 +107,7 @@
</node>
#include <include/interface-description.xml.i>
#include <include/interface-disable.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
#include <include/source-interface-ethernet.xml.i>
#include <include/interface-vrf.xml.i>
</children>
diff --git a/interface-definitions/interfaces-pseudo-ethernet.xml.in b/interface-definitions/interfaces-pseudo-ethernet.xml.in
index 3fceb70b6..cebc244db 100644
--- a/interface-definitions/interfaces-pseudo-ethernet.xml.in
+++ b/interface-definitions/interfaces-pseudo-ethernet.xml.in
@@ -73,7 +73,7 @@
</properties>
<defaultValue>private</defaultValue>
</leafNode>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
#include <include/vif-s.xml.i>
#include <include/vif.xml.i>
</children>
diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in
index 7fdead16a..37a35a1f7 100644
--- a/interface-definitions/interfaces-vxlan.xml.in
+++ b/interface-definitions/interfaces-vxlan.xml.in
@@ -67,7 +67,7 @@
</leafNode>
#include <include/source-interface.xml.i>
#include <include/interface-mac.xml.i>
- #include <include/interface-mtu-1200-9000.xml.i>
+ #include <include/interface-mtu-1200-16000.xml.i>
<leafNode name="remote">
<properties>
<help>Remote address of VXLAN tunnel</help>
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index 981bce826..aa63e4ac7 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -21,7 +21,7 @@
#include <include/interface-disable.xml.i>
#include <include/interface-vrf.xml.i>
#include <include/port-number.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
<leafNode name="fwmark">
<properties>
<help>A 32-bit fwmark value set on all outgoing packets</help>
diff --git a/interface-definitions/interfaces-wirelessmodem.xml.in b/interface-definitions/interfaces-wirelessmodem.xml.in
index 96604ff00..a0e78a124 100644
--- a/interface-definitions/interfaces-wirelessmodem.xml.in
+++ b/interface-definitions/interfaces-wirelessmodem.xml.in
@@ -66,7 +66,7 @@
</properties>
</leafNode>
#include <include/interface-disable-link-detect.xml.i>
- #include <include/interface-mtu-68-9000.xml.i>
+ #include <include/interface-mtu-68-16000.xml.i>
<node name="ipv6">
<children>
#include <include/ipv6-address.xml.i>