From 8ddac94cc942e328edc3e138eb92df97ef72c694 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 7 Jun 2020 10:51:49 +0200 Subject: op-mode: ethernet: T2546: do not display fixed offload options [fixed] options returned by ethtool -k mean that they can not be change and thus offloading can neither be enabled nor disabled. It makes no sense to display those parameters at all. --- op-mode-definitions/show-interfaces-ethernet.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op-mode-definitions/show-interfaces-ethernet.xml') diff --git a/op-mode-definitions/show-interfaces-ethernet.xml b/op-mode-definitions/show-interfaces-ethernet.xml index 6068f9e57..1a767b094 100644 --- a/op-mode-definitions/show-interfaces-ethernet.xml +++ b/op-mode-definitions/show-interfaces-ethernet.xml @@ -35,7 +35,7 @@ Show physical device offloading capabilities - /sbin/ethtool -k "$4" + /sbin/ethtool -k "$4" | sed -e '/fixed/d' -- cgit v1.2.3