summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-23 07:59:33 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-23 07:59:33 +0100
commitbfb7e4f2b3743ae3c9a132daf4e2109e90d27f26 (patch)
treed041c06f1181bec0a2d27817c1ddbd45a96e0c16 /python/vyos
parente2d46861092dedc18f6bd3c37736ac87cbfb5132 (diff)
downloadvyos-1x-bfb7e4f2b3743ae3c9a132daf4e2109e90d27f26.tar.gz
vyos-1x-bfb7e4f2b3743ae3c9a132daf4e2109e90d27f26.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.
Diffstat (limited to 'python/vyos')
-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)