X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftraffic_profiles%2Ftrex%2Ftrex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py;fp=resources%2Ftraffic_profiles%2Ftrex%2Ftrex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py;h=d195bc5b61edf8cdb19595cd96ccc6173358df4f;hp=a62283067577d3bf40dc8b8573b221e969ffd47a;hb=97dbe2feecc6d592db7427c4f1a72c1ac31990d1;hpb=a4882cb1547e2abf424bb53f424439989fc3b6e7 diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py index a622830675..d195bc5b61 100755 --- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py +++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.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 ) ] )