From 0c292cdcf82ca1d5a71a93c1e1f91cb061a2c6f2 Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Sun, 8 Nov 2015 17:35:50 -0500 Subject: pkt_gen: add duration to all send functions Allow a configurable duration for all send functions. JIRA: VSPERF-125 Change-Id: I7c6f5d136a7d7100e3990f7fdc00121b07081a80 Signed-off-by: Maryam Tahhan Reviewed-by: Martin Klozik Reviewed-by: Billy O Mahony Reviewed-by: Dino Simeon Madarang Reviewed-by: Radek Zetik --- tools/pkt_gen/ixnet/ixnetrfc2544.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/pkt_gen/ixnet/ixnetrfc2544.tcl') diff --git a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl index eda369db..f6df0713 100644 --- a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl +++ b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl @@ -81,15 +81,15 @@ proc startRfc2544Test { testSpec trafficSpec } { set binary [dict get $testSpec binary] + set duration [dict get $testSpec duration] + if {$binary} { set numTrials [dict get $testSpec trials] - set duration [dict get $testSpec duration] set frameRate 100 set tolerance [dict get $testSpec lossrate] set loadType binary } else { set numTrials 1 - set duration [dict get $testSpec time] set frameRate [dict get $testSpec framerate] set tolerance 0.0 set loadType custom -- cgit 1.2.3-korg