Code Review
/
nfvbench.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
90e69f0
)
Merge "NFVBENCH-80 latency stream for IMIX uses 1518B frames"
author
Alec Hothan
<ahothan@cisco.com>
Wed, 4 Apr 2018 16:50:55 +0000
(16:50 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Wed, 4 Apr 2018 16:50:55 +0000
(16:50 +0000)
nfvbench/traffic_gen/trex.py
patch
|
blob
|
history
diff --git
a/nfvbench/traffic_gen/trex.py
b/nfvbench/traffic_gen/trex.py
index
683e97e
..
1d0dab3
100644
(file)
--- a/
nfvbench/traffic_gen/trex.py
+++ b/
nfvbench/traffic_gen/trex.py
@@
-202,6
+202,7
@@
class TRex(AbstractTrafficGenerator):
if latency:
idx_lat = self.id.next()
+ pkt = self.create_pkt(stream_cfg, self.imix_avg_l2_size)
sl = STLStream(packet=pkt,
isg=isg,
flow_stats=STLFlowLatencyStats(pg_id=idx_lat),