From: imarom Date: Mon, 26 Sep 2016 12:10:39 +0000 (+0300) Subject: regression failure: VM with dec might not be able to pad the instruction to true... X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=e3c6ee9f99d5df4f1eae50f694efc609ea3c91ac;p=trex.git regression failure: VM with dec might not be able to pad the instruction to true cycle implictly --- diff --git a/scripts/stl/udp_1pkt_1mac_step.py b/scripts/stl/udp_1pkt_1mac_step.py index 69a84d67..9ed9e50f 100644 --- a/scripts/stl/udp_1pkt_1mac_step.py +++ b/scripts/stl/udp_1pkt_1mac_step.py @@ -14,7 +14,7 @@ class STLS1(object): base_pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025) pad = max(0, size - len(base_pkt)) * 'x' - vm = STLScVmRaw( [ STLVmFlowVar(name="mac_src", min_value=1, max_value=30, size=1, op="dec",step=7), + vm = STLScVmRaw( [ STLVmFlowVar(name="mac_src", min_value=1, max_value=35, size=1, op="dec",step=7), STLVmWrFlowVar(fv_name="mac_src", pkt_offset= 11) # write it to LSB of SRC offset it 11 ] )