From ec98378a9223f6fbddb3ce1494279f991088cdde Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 2 Jun 2020 21:34:41 +0200 Subject: ethernet: T2545: show physical device offloading capabilities vyos@vyos:~$ show interfaces ethernet eth3 physical offload Features for eth3: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [requested on] tx-checksum-ip-generic: on tx-checksum-ipv6: off [requested on] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: off [fixed] tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on udp-fragmentation-offload: off generic-segmentation-offload: off generic-receive-offload: on large-receive-offload: off rx-vlan-offload: on ... --- templates/show/interfaces/ethernet/node.tag/physical/offload/node.def | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/show/interfaces/ethernet/node.tag/physical/offload/node.def (limited to 'templates') diff --git a/templates/show/interfaces/ethernet/node.tag/physical/offload/node.def b/templates/show/interfaces/ethernet/node.tag/physical/offload/node.def new file mode 100644 index 0000000..9f69a55 --- /dev/null +++ b/templates/show/interfaces/ethernet/node.tag/physical/offload/node.def @@ -0,0 +1,3 @@ +help: Show physical device offloading capabilities +allowed: "" +run: /sbin/ethtool -k "$4" -- cgit v1.2.3