From d32ee4ad297c8754d0841b84b958a12a926cfef9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 16 Apr 2022 19:45:17 +0200 Subject: vxlan: geneve: T4370: support configuration of DF bit option set interfaces vxlan vxlan0 parameters ip df set interfaces geneve gnv0 parameters ip df --- .../include/interface/parameters-df.xml.i | 26 ++++++++++++++++++++++ .../interface/parameters-dont-fragment.xml.i | 8 ------- interface-definitions/interfaces-geneve.xml.in | 2 +- interface-definitions/interfaces-vxlan.xml.in | 2 +- 4 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 interface-definitions/include/interface/parameters-df.xml.i delete mode 100644 interface-definitions/include/interface/parameters-dont-fragment.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/interface/parameters-df.xml.i b/interface-definitions/include/interface/parameters-df.xml.i new file mode 100644 index 000000000..82436b5e4 --- /dev/null +++ b/interface-definitions/include/interface/parameters-df.xml.i @@ -0,0 +1,26 @@ + + + + Usage of the DF (don't Fragment) bit in outgoing packets + + set unset inherit + + + set + Always set DF (don't fragment) bit + + + unset + Always unset DF (don't fragment) bit + + + inherit + Copy from the original IP header + + + (set|unset|inherit) + + + unset + + diff --git a/interface-definitions/include/interface/parameters-dont-fragment.xml.i b/interface-definitions/include/interface/parameters-dont-fragment.xml.i deleted file mode 100644 index 6165184f8..000000000 --- a/interface-definitions/include/interface/parameters-dont-fragment.xml.i +++ /dev/null @@ -1,8 +0,0 @@ - - - - Always set the DF (don't fragment) bit - - - - diff --git a/interface-definitions/interfaces-geneve.xml.in b/interface-definitions/interfaces-geneve.xml.in index fa5a78be5..9143ba6be 100644 --- a/interface-definitions/interfaces-geneve.xml.in +++ b/interface-definitions/interfaces-geneve.xml.in @@ -35,7 +35,7 @@ IPv4 specific tunnel parameters - #include + #include #include #include diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in index 9747b1816..8b50fe1b7 100644 --- a/interface-definitions/interfaces-vxlan.xml.in +++ b/interface-definitions/interfaces-vxlan.xml.in @@ -69,7 +69,7 @@ IPv4 specific tunnel parameters - #include + #include #include #include -- cgit v1.2.3