summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-24 22:30:14 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-24 22:30:14 +0100
commitbddeae3755c8d83f4c47bc3b3798858a95427530 (patch)
tree646b51c0a8735ea02295f301a6af28c43c10e3f6
parent43d4dd505d16fd7e9af863c424e46ec089942870 (diff)
downloadvyos-1x-bddeae3755c8d83f4c47bc3b3798858a95427530.tar.gz
vyos-1x-bddeae3755c8d83f4c47bc3b3798858a95427530.zip
ethernet: T3163: fix typos in vyos.ethtool comments
-rw-r--r--python/vyos/ethtool.py2
-rw-r--r--src/tests/test_ethtool.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py
index 68c8a6656..136feae8d 100644
--- a/python/vyos/ethtool.py
+++ b/python/vyos/ethtool.py
@@ -96,6 +96,6 @@ class Ethtool:
return self.ring_buffers.get('rx', None)
def get_tx_buffer(self):
- # Configuration of RX ring-buffers is not supported on every device,
+ # Configuration of TX ring-buffers is not supported on every device,
# thus when it's impossible return None
return self.ring_buffers.get('tx', None)
diff --git a/src/tests/test_ethtool.py b/src/tests/test_ethtool.py
index bc53b938a..db0e46925 100644
--- a/src/tests/test_ethtool.py
+++ b/src/tests/test_ethtool.py
@@ -29,5 +29,3 @@ class TestVyOSEthtool(TestCase):
self.assertFalse(tmp.is_fixed_gro())
self.assertFalse(tmp.is_fixed_gso())
self.assertFalse(tmp.is_fixed_sg())
-
-