summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-29 22:12:32 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-29 22:12:32 +0200
commiteac8915413cedce089234fdbef57ad25da208eec (patch)
tree54cd3af24f633fbb3cec4fce5544264cb55cbe79 /python
parente5796497d5585aac85590e3aa9a80ae67160505a (diff)
downloadvyos-1x-eac8915413cedce089234fdbef57ad25da208eec.tar.gz
vyos-1x-eac8915413cedce089234fdbef57ad25da208eec.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.
Diffstat (limited to 'python')
-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