aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKerim Gokarslan <kgokarsl@cisco.com>2018-04-03 17:28:48 -0700
committerKerim Gokarslan <kgokarsl@cisco.com>2018-04-03 17:28:48 -0700
commitd462cb16e8d33fc5c6e79ad05222db799c10d5a5 (patch)
tree711a4a69ef905ad344e479262fa438b06c501008
parent5d582aada32e1c5f43601015660b7936013f5b30 (diff)
NFVBENCH-80 latency stream for IMIX uses 1518B frames
Change-Id: Ie37202001816ec0b9a8f3ecc08c7ec8c097a5d61 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
-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 7d64f0f..9cefb1e 100644
--- a/nfvbench/traffic_gen/trex.py
+++ b/nfvbench/traffic_gen/trex.py
@@ -216,6 +216,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),