summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
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>