summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-23 07:59:33 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-23 07:36:00 +0000
commite333071ca9a4b49ab7a216d17cc177fb19b6456a (patch)
treeda753d0bf4154cc85b1beba85b737bbd015fbb64
parentc0d70f697905dfa131be6cd9b2d48c07b915123f (diff)
downloadvyos-1x-e333071ca9a4b49ab7a216d17cc177fb19b6456a.tar.gz
vyos-1x-e333071ca9a4b49ab7a216d17cc177fb19b6456a.zip
ethernet: T5978: hw-tc-offload does not actually get enabled on the NIC
Typo (missaligned -/_) in the code causes hw-tc-offload to never be enabled in the underlaying hardware via ethtool. (cherry picked from commit bfb7e4f2b3743ae3c9a132daf4e2109e90d27f26)
-rw-r--r--python/vyos/ifconfig/ethernet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/ethernet.py b/python/vyos/ifconfig/ethernet.py
index dde87149d..c3f5bbf47 100644
--- a/python/vyos/ifconfig/ethernet.py
+++ b/python/vyos/ifconfig/ethernet.py
@@ -452,7 +452,7 @@ class EthernetIf(Interface):
self.set_gso(dict_search('offload.gso', config) != None)
# GSO (generic segmentation offload)
- self.set_hw_tc_offload(dict_search('offload.hw-tc-offload', config) != None)
+ self.set_hw_tc_offload(dict_search('offload.hw_tc_offload', config) != None)
# LRO (large receive offload)
self.set_lro(dict_search('offload.lro', config) != None)