summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Hothan <ahothan@cisco.com>2018-04-04 16:50:55 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-04 16:50:55 +0000
commit0a0b2e9b3aaab1b3bd98b207ffde206eff2a513a (patch)
tree4af19e4d37e4a9e144f1f1e6cd5b82abc83b3451
parent90e69f01d75a76dbac971174db0e701ebd40f543 (diff)
parentd462cb16e8d33fc5c6e79ad05222db799c10d5a5 (diff)
Merge "NFVBENCH-80 latency stream for IMIX uses 1518B frames"
-rw-r--r--nfvbench/traffic_gen/trex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nfvbench/traffic_gen/trex.py b/nfvbench/traffic_gen/trex.py
index 683e97e..1d0dab3 100644
--- 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),