aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py')
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py
index 9209aed8b9..cf34818781 100755
--- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.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
)
]
)