summaryrefslogtreecommitdiff
path: root/python/vyos/ethtool.py
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-17 20:51:44 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-19 13:19:53 +0200
commitbbe32749e66c208312dffadbbd076fdc34ceeb5b (patch)
tree1773e2df7c6189c60c1191d2fa86931a1bdd6798 /python/vyos/ethtool.py
parent41133869c50cd691735a141722dbca72827191e5 (diff)
downloadvyos-1x-bbe32749e66c208312dffadbbd076fdc34ceeb5b.tar.gz
vyos-1x-bbe32749e66c208312dffadbbd076fdc34ceeb5b.zip
firewall: ethernet: T4502: Add interface offload node and verify interface supports HW flowtable offload
- Add required offload setting for interfaces + flowtable offload (hw-tc-offload) - Verification of interface support for hardware offloaded flowtables
Diffstat (limited to 'python/vyos/ethtool.py')
-rw-r--r--python/vyos/ethtool.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py
index ca3bcfc3d..f19632719 100644
--- a/python/vyos/ethtool.py
+++ b/python/vyos/ethtool.py
@@ -172,6 +172,9 @@ class Ethtool:
def get_generic_segmentation_offload(self):
return self._get_generic('generic-segmentation-offload')
+ def get_hw_tc_offload(self):
+ return self._get_generic('hw-tc-offload')
+
def get_large_receive_offload(self):
return self._get_generic('large-receive-offload')