regression failure: VM with dec might not be able to pad the instruction to true...
authorimarom <[email protected]>
Mon, 26 Sep 2016 12:10:39 +0000 (15:10 +0300)
committerimarom <[email protected]>
Mon, 26 Sep 2016 12:10:39 +0000 (15:10 +0300)
scripts/stl/udp_1pkt_1mac_step.py

index 69a84d6..9ed9e50 100644 (file)
@@ -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
                           ]
                        )