summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-23 09:56:38 +0200
committerGitHub <noreply@github.com>2024-01-23 09:56:38 +0200
commit280cb292d169dedf45ab231a0ae2d37ee1504dee (patch)
treeda753d0bf4154cc85b1beba85b737bbd015fbb64
parentc0d70f697905dfa131be6cd9b2d48c07b915123f (diff)
parente333071ca9a4b49ab7a216d17cc177fb19b6456a (diff)
downloadvyos-1x-280cb292d169dedf45ab231a0ae2d37ee1504dee.tar.gz
vyos-1x-280cb292d169dedf45ab231a0ae2d37ee1504dee.zip
Merge pull request #2882 from vyos/mergify/bp/sagitta/pr-2881
ethernet: T5978: hw-tc-offload does not actually get enabled on the NIC (backport #2881)
-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)