[dts] [PATCH for-next v3 0/7] Fixes and modifications for T-Rex integration and nic_single_core_perf

Patrick MacArthur pmacarth at iol.unh.edu
Thu Mar 29 21:15:58 CEST 2018

The first four patches of this series are bug fixes necessary to run the
nic_single_core_perf test in its current state in the UNH-IOL

Patch 5 automates starting T-Rex as part of the prepare_generator()
setup step, if the "start_trex" configuration option is enabled.

Patch 6 adds a section to the DTS getting started guide which describes
how T-Rex should be configured for relevant tests.

Patch 7 adds JSON output to the nic_single_core_perf test, which can be
more easily consumed by automated tools.

This patch set targets the next branch, and I have uploaded these
patches to our local open-source git server:

The following changes since commit 41685e25bedcbb1bf895c1094913aab3bf42de1e:

  framework/dut: adjust memory allocation for arm64 (2018-02-08 21:27:50 +0800)

are available in the git repository at:

  https://oss.iol.unh.edu/dpdk/dts.git tags/for-next-v3-trex-single-core-perf

for you to fetch changes up to 9aec13369928c8c62257ad78fb8abb7f535863b3:

  tests/TestSuite_nic_single_core_perf: Report the results in JSON format (2018-03-29 14:54:21 -0400)

Patrick MacArthur (7):
  framework/texttable: Update to latest upstream version
  framework: Do not attempt ping6 on T-Rex ports
  tests/TestSuite_nic_single_core_perf: Fix config parsing
  tests/TestSuite_nic_single_core_perf: Use user-specified output dir
  framework/pktgen: Start T-Rex during prepare_generator()
  doc: Add T-Rex section to documentation
  tests/TestSuite_nic_single_core_perf: Report the results in JSON

Changes from v2:
 - Remove STLClient.resolve() call; assume that T-Rex is in Layer 2
   stateless mode.
 - Add trex section to manual describing expected Layer 2 stateless
 - Fix missing 'os' import (identified by Ali Alnubani).
 - Add JSON output file for use by UNH-IOL test lab.

Changes from v1:
 - Add a configuration option to pktgen.cfg; trex is only started by DTS
   if the option is present and non-empty.
 - Drop patch 6 which renamed the test case.

 conf/pktgen.cfg                               |   2 +
 doc/dts_gsg/index.rst                         |   1 +
 doc/dts_gsg/trex.rst                          |  27 +++++
 framework/dut.py                              |   4 +-
 framework/pktgen.py                           |  34 ++++--
 framework/tester.py                           |  11 +-
 framework/texttable.py                        | 145 +++++++++++++++++---------
 framework/virt_dut.py                         |   2 +-
 test_plans/nic_single_core_perf_test_plan.rst |   2 +
 tests/TestSuite_nic_single_core_perf.py       |  53 ++++++----
 10 files changed, 191 insertions(+), 90 deletions(-)
 create mode 100644 doc/dts_gsg/trex.rst


More information about the dts mailing list