From 8e11d9cc51b16949f42cde3cb9a002fe3ab92228 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 28 Oct 2020 19:05:34 +0100 Subject: mtu: T2630: add support for ethernet MTU up to 16000 bytes There is a Myricom 10G card with 16k MTU available. --- .../include/interface-mtu-1200-16000.xml.i | 16 ++++++++++++++++ .../include/interface-mtu-1200-9000.xml.i | 16 ---------------- .../include/interface-mtu-1450-16000.xml.i | 16 ++++++++++++++++ .../include/interface-mtu-1450-9000.xml.i | 16 ---------------- .../include/interface-mtu-64-8024.xml.i | 2 +- .../include/interface-mtu-68-1500.xml.i | 2 +- .../include/interface-mtu-68-16000.xml.i | 16 ++++++++++++++++ .../include/interface-mtu-68-9000.xml.i | 16 ---------------- interface-definitions/include/vif-s.xml.i | 4 ++-- interface-definitions/include/vif.xml.i | 2 +- interface-definitions/interfaces-bonding.xml.in | 2 +- interface-definitions/interfaces-ethernet.xml.in | 2 +- interface-definitions/interfaces-geneve.xml.in | 2 +- interface-definitions/interfaces-l2tpv3.xml.in | 2 +- interface-definitions/interfaces-macsec.xml.in | 2 +- interface-definitions/interfaces-pseudo-ethernet.xml.in | 2 +- interface-definitions/interfaces-vxlan.xml.in | 2 +- interface-definitions/interfaces-wireguard.xml.in | 2 +- interface-definitions/interfaces-wirelessmodem.xml.in | 2 +- 19 files changed, 62 insertions(+), 62 deletions(-) create mode 100644 interface-definitions/include/interface-mtu-1200-16000.xml.i delete mode 100644 interface-definitions/include/interface-mtu-1200-9000.xml.i create mode 100644 interface-definitions/include/interface-mtu-1450-16000.xml.i delete mode 100644 interface-definitions/include/interface-mtu-1450-9000.xml.i create mode 100644 interface-definitions/include/interface-mtu-68-16000.xml.i delete mode 100644 interface-definitions/include/interface-mtu-68-9000.xml.i (limited to 'interface-definitions') 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 @@ + + + + Maximum Transmission Unit (MTU) + + 1200-16000 + Maximum Transmission Unit in byte + + + + + MTU must be between 1200 and 16000 + + 1500 + + 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 @@ - - - - Maximum Transmission Unit (MTU) - - 1200-9000 - Maximum Transmission Unit - - - - - MTU must be between 1200 and 9000 - - 1500 - - 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 @@ + + + + Maximum Transmission Unit (MTU) + + 1450-16000 + Maximum Transmission Unit in byte + + + + + MTU must be between 1450 and 16000 + + 1500 + + 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 @@ - - - - Maximum Transmission Unit (MTU) - - 1450-9000 - Maximum Transmission Unit - - - - - MTU must be between 1450 and 9000 - - 1500 - - 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 @@ Maximum Transmission Unit (MTU) 64-8024 - Maximum Transmission Unit + Maximum Transmission Unit in byte 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 @@ Maximum Transmission Unit (MTU) 68-1500 - Maximum Transmission Unit + Maximum Transmission Unit in byte 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 @@ + + + + Maximum Transmission Unit (MTU) + + 68-16000 + Maximum Transmission Unit in byte + + + + + MTU must be between 68 and 16000 + + 1500 + + 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 @@ - - - - Maximum Transmission Unit (MTU) - - 68-9000 - Maximum Transmission Unit - - - - - MTU must be between 68 and 9000 - - 1500 - - 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 @@ #include - #include + #include QinQ TAG-C Virtual Local Area Network (VLAN) ID @@ -61,7 +61,7 @@ #include #include #include - #include + #include #include 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 @@ #include - #include + #include 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 @@ - #include + #include Primary device interface 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 @@ #include - #include + #include Configurable offload options 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 @@ #include - #include + #include Remote address of GENEVE tunnel 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 @@ - #include + #include Peer session identifier 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 @@ #include #include - #include + #include #include #include 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 @@ private - #include + #include #include #include 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 @@ #include #include - #include + #include Remote address of VXLAN tunnel 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 #include - #include + #include A 32-bit fwmark value set on all outgoing packets 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 @@ #include - #include + #include #include -- cgit v1.2.3