From 97dbe2feecc6d592db7427c4f1a72c1ac31990d1 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 28 Jan 2020 10:33:36 +0000 Subject: FIX: dot1qip4vxlan tests Signed-off-by: Peter Mikus Change-Id: Ieb6e6010108987f99f55730149e3e4b7f1a7fc21 --- .../trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py') diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py index ccc8484808..fe46844571 100755 --- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py +++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py @@ -199,8 +199,10 @@ class TrafficStreams(TrafficStreamsBaseClass): fv_name=u"in_ip", pkt_offset=86 ), - STLVmFixIpv4( - offset=u"IP" + STLVmFixChecksumHw( + l3_offset="IP:{}".format(0), + l4_offset="UDP:{}".format(0), + l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP ) ] ) @@ -264,8 +266,10 @@ class TrafficStreams(TrafficStreamsBaseClass): fv_name=u"in_ip", pkt_offset=86 ), - STLVmFixIpv4( - offset=u"IP" + STLVmFixChecksumHw( + l3_offset="IP:{}".format(0), + l4_offset="UDP:{}".format(0), + l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP ) ] ) -- cgit 1.2.3-korg