diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-09-17 20:51:44 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-09-19 13:19:53 +0200 |
commit | bbe32749e66c208312dffadbbd076fdc34ceeb5b (patch) | |
tree | 1773e2df7c6189c60c1191d2fa86931a1bdd6798 /python/vyos/ethtool.py | |
parent | 41133869c50cd691735a141722dbca72827191e5 (diff) | |
download | vyos-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.py | 3 |
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') |