X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftraffic_profiles%2Ftrex%2Ftrex-sl-ethip4vxlan-ip4src1udpsrcrnd.py;h=cd1a0a690c1aee259a81f21550ec6519ae10743f;hb=refs%2Fchanges%2F84%2F24584%2F2;hp=cf97364da6e6604060e8f4a98997fcb1c1272d60;hpb=a4882cb1547e2abf424bb53f424439989fc3b6e7;p=csit.git diff --git a/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py index cf97364da6..cd1a0a690c 100755 --- a/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py +++ b/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py @@ -182,8 +182,10 @@ class TrafficStreams(TrafficStreamsBaseClass): fv_name=u"in_mac", pkt_offset=60 ), - STLVmFixIpv4( - offset=u"IP" + STLVmFixChecksumHw( + l3_offset="IP:{}".format(0), + l4_offset="UDP:{}".format(0), + l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP ) ] ) @@ -237,8 +239,10 @@ class TrafficStreams(TrafficStreamsBaseClass): fv_name=u"in_mac", pkt_offset=60 ), - STLVmFixIpv4( - offset=u"IP" + STLVmFixChecksumHw( + l3_offset="IP:{}".format(0), + l4_offset="UDP:{}".format(0), + l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP ) ] )