summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-23 14:19:40 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-23 14:20:21 +0100
commit5a20c17fceffcbb977f713579a22fdb22f16cc74 (patch)
tree60d1ed5932962175ca22478fde027305339a458c /interface-definitions
parent24cce893acf0a5f62230c7f12f07e569b9233db0 (diff)
downloadvyos-1x-5a20c17fceffcbb977f713579a22fdb22f16cc74.tar.gz
vyos-1x-5a20c17fceffcbb977f713579a22fdb22f16cc74.zip
xdp: T2666: move CLI node to "interfaces ethernet <eth> xdp"
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface-xdp.xml.i8
-rw-r--r--interface-definitions/interfaces-ethernet.xml.in7
2 files changed, 9 insertions, 6 deletions
diff --git a/interface-definitions/include/interface-xdp.xml.i b/interface-definitions/include/interface-xdp.xml.i
new file mode 100644
index 000000000..d224c177f
--- /dev/null
+++ b/interface-definitions/include/interface-xdp.xml.i
@@ -0,0 +1,8 @@
+<!-- included start from interface-vrf.xml.i -->
+<leafNode name="xdp">
+ <properties>
+ <help>Enable eXpress Data Path</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<!-- included end -->
diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in
index d3d94cf8d..5dd685c37 100644
--- a/interface-definitions/interfaces-ethernet.xml.in
+++ b/interface-definitions/interfaces-ethernet.xml.in
@@ -95,12 +95,6 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="xdp">
- <properties>
- <help>Enable eXpress Data Path</help>
- <valueless/>
- </properties>
- </leafNode>
</children>
</node>
<leafNode name="speed">
@@ -193,6 +187,7 @@
</node>
#include <include/vif-s.xml.i>
#include <include/vif.xml.i>
+ #include <include/interface-xdp.xml.i>
</children>
</tagNode>
</children>