X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftraffic_profiles%2Ftrex%2Ftrex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py;h=32ca072154120dec1254686218843e4d09282607;hb=ceaa2959217752716496b6257595d12cbcb0c657;hp=e286a1e8d539ed7c0c1ec3cceed09203e6468884;hpb=f7519a18b92febfdb211a03a8ce60cbe216f9c72;p=csit.git diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py old mode 100755 new mode 100644 index e286a1e8d5..32ca072154 --- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py +++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.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 ) ] ) @@ -263,8 +265,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 ) ] )