aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKerim Gokarslan <kgokarsl@cisco.com>2018-04-03 17:28:48 -0700
committerAlec Hothan <ahothan@cisco.com>2018-04-04 16:52:12 +0000
commit17d7209b8201bac6bd705e3fddd280aaccade341 (patch)
tree4af19e4d37e4a9e144f1f1e6cd5b82abc83b3451
parent706561d483b2a698ef8cdd23b56455500df342f5 (diff)
NFVBENCH-80 latency stream for IMIX uses 1518B frames
Change-Id: Ie37202001816ec0b9a8f3ecc08c7ec8c097a5d61 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com> (cherry picked from commit d462cb16e8d33fc5c6e79ad05222db799c10d5a5)
-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),