summaryrefslogtreecommitdiff
path: root/tests/TestSuite_nvgre.py
diff options
context:
space:
mode:
authorxu,huilong <huilongx.xu@intel.com>2016-10-14 16:13:10 +0800
committerMarvin Liu <yong.liu@intel.com>2016-10-14 22:51:57 +0800
commit098a7c25e0c8da8602ec2ba30589839b89d022cd (patch)
tree9f42d9ad07e8427b24b5c36e9b3440c1567563aa /tests/TestSuite_nvgre.py
parent713715cc0ef0bb1b9ee2c7b51fab4db3e74b8c9b (diff)
tests checksum_offload: update for ip won't change
csum function will not increase outer ip src address from dpdk16.11. Signed-off-by: xu,huilong <huilongx.xu@intel.com>
Diffstat (limited to 'tests/TestSuite_nvgre.py')
-rw-r--r--tests/TestSuite_nvgre.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 75f5263..c1df309 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -525,17 +525,17 @@ class TestNvgre(TestCase):
config = NvgreTestConfig(self, **args)
# now cloud filter will default enable L2 mac filter, so dst mac must be same
config.outer_mac_dst = self.dut_rx_port_mac
- # csum function will change outer ipv src address
+ # csum function will not change outer ipv src address already
if config.outer_ip6_src != "N/A":
- config.outer_ip6_src = IncreaseIPv6(config.outer_ip6_src)
+ config.outer_ip6_src = config.outer_ip6_src
else:
- config.outer_ip_src = IncreaseIP(config.outer_ip_src)
+ config.outer_ip_src = config.outer_ip_src
- # csum function will auto change nvgre inner ipv src address
+ # csum function will not auto change nvgre inner ipv src address already
if config.inner_ip6_src != "N/A":
- config.inner_ip6_src = IncreaseIPv6(config.inner_ip6_src)
+ config.inner_ip6_src = config.inner_ip6_src
else:
- config.inner_ip_src = IncreaseIP(config.inner_ip_src)
+ config.inner_ip_src = config.inner_ip_src
# create abnormal package with wrong checksum
config.create_pcap()