From d462cb16e8d33fc5c6e79ad05222db799c10d5a5 Mon Sep 17 00:00:00 2001 From: Kerim Gokarslan Date: Tue, 3 Apr 2018 17:28:48 -0700 Subject: NFVBENCH-80 latency stream for IMIX uses 1518B frames Change-Id: Ie37202001816ec0b9a8f3ecc08c7ec8c097a5d61 Signed-off-by: Kerim Gokarslan --- nfvbench/traffic_gen/trex.py | 1 + 1 file changed, 1 insertion(+) 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), -- cgit 1.2.3-korg