summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-29 22:12:32 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-30 21:38:44 +0200
commit1c9db89970943bdb3f213741c5085537e3965fe1 (patch)
tree805962b32e8813e16ba3501454fab61de3cac720
parent417d3dba893b56c66a911f80634d87f2b610a7bd (diff)
downloadvyos-1x-1c9db89970943bdb3f213741c5085537e3965fe1.tar.gz
vyos-1x-1c9db89970943bdb3f213741c5085537e3965fe1.zip
vyos.ethtool: T3163: drop obsoleted is_fixed_lro() method
Commit d22f97af ("vyos.ethtool: T3163: rename unused methods for offload validation") reworked the entire class on how data should be presented to the user, but forgot to drop the is_fixed_lro() method. (cherry picked from commit eac8915413cedce089234fdbef57ad25da208eec)
-rw-r--r--python/vyos/ethtool.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py
index 0ae526346..e2cd37726 100644
--- a/python/vyos/ethtool.py
+++ b/python/vyos/ethtool.py
@@ -63,11 +63,6 @@ class Ethtool:
if value.isdigit():
self.ring_buffers[key] = int(value)
- def is_fixed_lro(self):
- # in case of a missing configuration, rather return "fixed". In Ethtool
- # terminology "fixed" means the setting can not be changed by the user.
- return self.features.get('large-receive-offload', True).get('fixed', True)
-
def _get_generic(self, feature):
"""
Generic method to read self.features and return a tuple for feature