[dts] [PATCH V1 0/10] [next]dts/pktgen: add new feature and fix some internal bugs

yufengmx yufengx.mo at intel.com
Mon Aug 5 07:50:34 CEST 2019


 These commits meet with demand came from dpdk STV new demand and internal bugs fixed. 
 
 *. add __get_single_throughput_statistic/__get_multi_throughput_statistic methods to realize 
 measure_throughput support return several throughput statistic data in a duration. 
 *. add test method(latency/loss/throughput/rfc2544) options parameter usage 
 comment in pktgen_base module. 
 *. add test method(latency/loss/throughput) delay/duration options new usage 
 definition and relevant process source code in pktgen_base module. 
 *. set delay option to the warm up time before start main traffic. 
 *. set pktgen duration default value to 10 second. 
 *. remove duration option used in trex/ixia module, move duration option in 
 testing scenario methods(latency/loss/throughput) in pktgen_base module. 
 *. remove un-used optons in pktgen.cfg. 
 *. remove un-used parameter in trex/ixia _start_transmission. 
 *. add missing rate percent key of stream config option in pktgen module. 
 *. add missing start traffic option input in measure_throughput method. 
 *. move tester/dut logger close after session close for logger used by session. 
 *. remove duplicate ixia logger setting. 
 *. add pktgen logger setting in logger module. 
 *. set pktgen modules part of information logger display to debug level. 
 *. set PacketGenerator class logger as Ixia class logger. 
 *. remove logger format setting after import libs to fix dts redundant logs. 
 *. update suite nic_single_core_perf with new pktgen measure_throughput duration definition. 
 *. fix typo. 
 *. fix pep8 issue. 

yufengmx (10):
  [next]conf/pktgen: update option description
  [next]doc/dts_gsg/pktgen_prog_guide: update description
  [next]framework/logger: add pktgen logger and remove duplicate code
  [next]framework/dut: fix logger quit issue
  [next]framework/tester: fix logger quit issue
  [next]framework/pktgen_base: add new feature and fix internal bug
  [next]framework/pktgen_ixia: add new feature and fix internal bug
  [next]framework/pktgen_trex: add new feature and fix internal bug
  [next]framework/pktgen: add new feature and fix internal bug
  [next]tests/nic_single_core_perf: update pktgen input parameter

 conf/pktgen.cfg                         |  22 +++-
 doc/dts_gsg/pktgen_prog_guide.rst       |  45 +++++--
 framework/dut.py                        |   8 +-
 framework/logger.py                     |  25 +++-
 framework/pktgen.py                     |  30 ++---
 framework/pktgen_base.py                | 179 +++++++++++++++++++++-----
 framework/pktgen_ixia.py                | 219 +++++++++++++++-----------------
 framework/pktgen_trex.py                | 211 ++++++++++++++----------------
 framework/tester.py                     |   2 +-
 tests/TestSuite_nic_single_core_perf.py |   6 +-
 10 files changed, 434 insertions(+), 313 deletions(-)

-- 
1.9.3



More information about the dts mailing list