summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-ethernet.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-23 15:22:32 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-23 15:42:53 +0100
commitc69190bb2b9a3c0f105ea630d328b294aa7810d7 (patch)
tree8ade90f7eb2660b59447f11181f5999861889313 /op-mode-definitions/show-interfaces-ethernet.xml
parent440ce3011e8718c917933026e68047fcfb008031 (diff)
downloadvyos-1x-c69190bb2b9a3c0f105ea630d328b294aa7810d7.tar.gz
vyos-1x-c69190bb2b9a3c0f105ea630d328b294aa7810d7.zip
xdp: op-mode: T2666: support per interface statistics
Diffstat (limited to 'op-mode-definitions/show-interfaces-ethernet.xml')
-rw-r--r--op-mode-definitions/show-interfaces-ethernet.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml b/op-mode-definitions/show-interfaces-ethernet.xml
index bdcfa55f1..fc79f44bf 100644
--- a/op-mode-definitions/show-interfaces-ethernet.xml
+++ b/op-mode-definitions/show-interfaces-ethernet.xml
@@ -68,6 +68,12 @@
</leafNode>
</children>
</tagNode>
+ <leafNode name="xdp">
+ <properties>
+ <help>Show eXpress Data Path statistics</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/show_xdp_stats.sh ethernet "$4"</command>
+ </leafNode>
</children>
</tagNode>
<node name="ethernet">