[dts] [PATCH V1 1/2] framework/pktgen_base: fix measure_throughput missed option
yufengmx
yufengx.mo at intel.com
Tue Aug 6 09:16:37 CEST 2019
input
add missing _start_transmission options input in measure_throughput method.
Signed-off-by: yufengmx <yufengx.mo at intel.com>
---
framework/pktgen_base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/pktgen_base.py b/framework/pktgen_base.py
index 6bfc49a..eec4e6f 100644
--- a/framework/pktgen_base.py
+++ b/framework/pktgen_base.py
@@ -237,7 +237,7 @@ class PacketGenerator(object):
# start warm up traffic
self.__warm_up_pktgen(stream_ids, options, delay)
# main traffic
- self._start_transmission(stream_ids)
+ self._start_transmission(stream_ids, options)
# keep traffic within a duration time and get throughput statistic
if interval and duration:
stats = self.__get_multi_throughput_statistic(
--
1.9.3
More information about the dts
mailing list