From a58e154ae57c0a7f3f2502367894b2b6a5c69724 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 30 Jan 2018 13:38:13 +0100 Subject: Add no-tx-checksum-offload to startup.conf in case of perf tests Change-Id: I8de8f4f313befec23d6828c3b340c5042928ea1a Signed-off-by: Jan Gelety (cherry picked from commit 30f7c94c12a8ccff7bd86c781f491b3fe9d55def) --- resources/libraries/python/VppConfigGenerator.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'resources/libraries/python/VppConfigGenerator.py') 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. -- cgit 1.2.3-korg