Latency stream 1kpps -> 10kpps 10/2910/3
authorMiroslav Miklus <mmiklus@cisco.com>
Fri, 16 Sep 2016 09:45:54 +0000 (11:45 +0200)
committerMaciek Konstantynowicz <mkonstan@cisco.com>
Mon, 19 Sep 2016 14:29:47 +0000 (14:29 +0000)
Change-Id: Id16c54ba299fc757557503cdc3c63cd5c370c1a2
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
resources/tools/t-rex/t-rex-stateless.py

index 95c6cb1..867d095 100755 (executable)
@@ -134,19 +134,19 @@ def create_streams_v46(base_pkt_a, base_pkt_b, vm1, vm2, frame_size):
             max(0, fsize_no_fcs-len(base_pkt_b))))
         lat_stream1 = STLStream(packet=pkt_lat_a,
                                 flow_stats=STLFlowLatencyStats(pg_id=0),
             max(0, fsize_no_fcs-len(base_pkt_b))))
         lat_stream1 = STLStream(packet=pkt_lat_a,
                                 flow_stats=STLFlowLatencyStats(pg_id=0),
-                                mode=STLTXCont(pps=1000))
+                                mode=STLTXCont(pps=10000))
         # second traffic stream with a phase of 10ns (inter stream gap)
         lat_stream2 = STLStream(packet=pkt_lat_b,
                                 isg=10.0,
                                 flow_stats=STLFlowLatencyStats(pg_id=1),
         # second traffic stream with a phase of 10ns (inter stream gap)
         lat_stream2 = STLStream(packet=pkt_lat_b,
                                 isg=10.0,
                                 flow_stats=STLFlowLatencyStats(pg_id=1),
-                                mode=STLTXCont(pps=1000))
+                                mode=STLTXCont(pps=10000))
 
         stream1 = STLStream(packet=pkt_a,
 
         stream1 = STLStream(packet=pkt_a,
-                            mode=STLTXCont(pps=1000))
+                            mode=STLTXCont(pps=10000))
         # second traffic stream with a phase of 10ns (inter stream gap)
         stream2 = STLStream(packet=pkt_b,
                             isg=10.0,
         # second traffic stream with a phase of 10ns (inter stream gap)
         stream2 = STLStream(packet=pkt_b,
                             isg=10.0,
-                            mode=STLTXCont(pps=1000))
+                            mode=STLTXCont(pps=10000))
     elif type(frame_size) is str:
         lat_stream1 = []
         lat_stream2 = []
     elif type(frame_size) is str:
         lat_stream1 = []
         lat_stream2 = []