Code Review
/
nfvbench.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
706561d
)
NFVBENCH-80 latency stream for IMIX uses 1518B frames
21/54921/1
author
Kerim Gokarslan
<kgokarsl@cisco.com>
Wed, 4 Apr 2018 00:28:48 +0000
(17:28 -0700)
committer
Alec Hothan
<ahothan@cisco.com>
Wed, 4 Apr 2018 16:52:12 +0000
(16:52 +0000)
Change-Id: Ie37202001816ec0b9a8f3ecc08c7ec8c097a5d61
Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
(cherry picked from commit
d462cb16e8d33fc5c6e79ad05222db799c10d5a5
)
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()
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),
sl = STLStream(packet=pkt,
isg=isg,
flow_stats=STLFlowLatencyStats(pg_id=idx_lat),