diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-06-10 12:35:05 +0200 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-06-16 01:35:05 +0000 |
commit | 0cf528233ab9272d7153f7323bacae2d50313b1a (patch) | |
tree | db9a463f939da54acc3f976cd2c2d536aa2e064d /test | |
parent | ff13e46215ab96df988310b4a20eddefad92de99 (diff) |
gso: fix the udp checksum in test
Type: fix
Change-Id: I7005e4763e73f3679c40f94bdab26d439cd23188
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_gso.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_gso.py b/test/test_gso.py index 7189104a859..ba830049e64 100644 --- a/test/test_gso.py +++ b/test/test_gso.py @@ -371,7 +371,7 @@ class TestGSO(VppTestCase): self.assertEqual(rx[IP].src, self.pg0.local_ip4) self.assertEqual(rx[IP].dst, self.pg0.remote_ip4) self.assert_ip_checksum_valid(rx) - self.assert_udp_checksum_valid(rx) + self.assert_udp_checksum_valid(rx, ignore_zero_checksum=False) self.assertEqual(rx[VXLAN].vni, 10) inner = rx[VXLAN].payload self.assertEqual(rx[IP].len - 20 - 8 - 8, len(inner)) @@ -402,7 +402,7 @@ class TestGSO(VppTestCase): self.assertEqual(rx[IP].src, self.pg0.local_ip4) self.assertEqual(rx[IP].dst, self.pg0.remote_ip4) self.assert_ip_checksum_valid(rx) - self.assert_udp_checksum_valid(rx) + self.assert_udp_checksum_valid(rx, ignore_zero_checksum=False) self.assertEqual(rx[VXLAN].vni, 10) inner = rx[VXLAN].payload self.assertEqual(rx[IP].len - 20 - 8 - 8, len(inner)) |