Add no-tx-checksum-offload to startup.conf in case of perf tests 38/10338/3
authorJan Gelety <jgelety@cisco.com>
Tue, 30 Jan 2018 12:38:13 +0000 (13:38 +0100)
committerJan Gelety <jgelety@cisco.com>
Wed, 31 Jan 2018 14:15:21 +0000 (14:15 +0000)
Change-Id: I8de8f4f313befec23d6828c3b340c5042928ea1a
Signed-off-by: Jan Gelety <jgelety@cisco.com>
(cherry picked from commit 30f7c94c12a8ccff7bd86c781f491b3fe9d55def)

resources/libraries/python/VppConfigGenerator.py
resources/libraries/robot/shared/default.robot

index d4fde0a..f21f027 100644 (file)
@@ -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.
 
index 0b02aa9..5287fb6 100644 (file)
 | | | Run keyword | ${dut}.Add API segment global size | 2000M
 | | | Run keyword | ${dut}.Add API segment API size | 1G
 | | | Run keyword | ${dut}.Add DPDK Socketmem | "1024,1024"
+| | | Run keyword | ${dut}.Add DPDK No Tx Checksum Offload
 | | | Run keyword | ${dut}.Add Heapsize | "4G"
 | | | Run keyword | ${dut}.Add IP6 Hash Buckets | "2000000"
 | | | Run keyword | ${dut}.Add IP6 Heap Size | "4G"

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.