Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Latency stream 10k > 9k, min_rate 5k > 10k
[csit.git]
/
resources
/
tools
/
t-rex
/
t-rex-stateless.py
diff --git
a/resources/tools/t-rex/t-rex-stateless.py
b/resources/tools/t-rex/t-rex-stateless.py
index
867d095
..
b23dfa8
100755
(executable)
--- a/
resources/tools/t-rex/t-rex-stateless.py
+++ b/
resources/tools/t-rex/t-rex-stateless.py
@@
-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=
10
000))
+ mode=STLTXCont(pps=
9
000))
# 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=
10
000))
+ mode=STLTXCont(pps=
9
000))
stream1 = STLStream(packet=pkt_a,
stream1 = STLStream(packet=pkt_a,
- mode=STLTXCont(pps=
10
000))
+ mode=STLTXCont(pps=
9
000))
# 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=
10
000))
+ mode=STLTXCont(pps=
9
000))
elif type(frame_size) is str:
lat_stream1 = []
lat_stream2 = []
elif type(frame_size) is str:
lat_stream1 = []
lat_stream2 = []