aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2018-01-30 13:38:13 +0100
committerJan Gelety <jgelety@cisco.com>2018-01-31 14:15:21 +0000
commita58e154ae57c0a7f3f2502367894b2b6a5c69724 (patch)
tree418c7722d3914cf225d4847e93d39219003aef57 /resources/libraries/python
parent2cf48780a763a774c2b0f4173a3b7c82bbd09158 (diff)
Add no-tx-checksum-offload to startup.conf in case of perf tests
Change-Id: I8de8f4f313befec23d6828c3b340c5042928ea1a Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit 30f7c94c12a8ccff7bd86c781f491b3fe9d55def)
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/VppConfigGenerator.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py
index d4fde0a6c8..f21f027ba4 100644
--- a/resources/libraries/python/VppConfigGenerator.py
+++ b/resources/libraries/python/VppConfigGenerator.py
@@ -373,6 +373,11 @@ class VppConfigGenerator(object):
path = ['dpdk', 'no-multi-seg']
self.add_config_item(self._nodeconfig, '', path)
+ def add_dpdk_no_tx_checksum_offload(self):
+ """Add DPDK no-tx-checksum-offload configuration."""
+ path = ['dpdk', 'no-tx-checksum-offload']
+ self.add_config_item(self._nodeconfig, '', path)
+
def add_nat(self, value='deterministic'):
"""Add NAT configuration.