summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-02 21:34:41 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-02 21:35:28 +0200
commitefda294a0bee479df39534f9d6676cb134c49d76 (patch)
treeb03de0cf5e24f72fcad4c3ba64531cb29ef044e6 /templates
parent4cd9e7418465d9290ada9f364f2bbe33e9129dcb (diff)
downloadvyatta-op-efda294a0bee479df39534f9d6676cb134c49d76.tar.gz
vyatta-op-efda294a0bee479df39534f9d6676cb134c49d76.zip
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 ... (cherry picked from commit ec98378a9223f6fbddb3ce1494279f991088cdde)
Diffstat (limited to 'templates')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/physical/offload/node.def3
1 files changed, 3 insertions, 0 deletions
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"