test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH for-next v3 0/7] Fixes and modifications for T-Rex integration and nic_single_core_perf
@ 2018-03-29 19:15 Patrick MacArthur
  2018-03-29 19:15 ` [dts] [PATCH for-next v3 1/7] framework/texttable: Update to latest upstream version Patrick MacArthur
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Patrick MacArthur @ 2018-03-29 19:15 UTC (permalink / raw)
  To: dts; +Cc: dpdklab

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
environment.

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
    format

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
   configuration.
 - 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

-- 
2.14.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-30  0:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 19:15 [dts] [PATCH for-next v3 0/7] Fixes and modifications for T-Rex integration and nic_single_core_perf Patrick MacArthur
2018-03-29 19:15 ` [dts] [PATCH for-next v3 1/7] framework/texttable: Update to latest upstream version Patrick MacArthur
2018-03-29 19:16 ` [dts] [PATCH for-next v3 2/7] framework: Do not attempt ping6 on T-Rex ports Patrick MacArthur
2018-03-29 19:16 ` [dts] [PATCH for-next v3 3/7] tests/TestSuite_nic_single_core_perf: Fix config parsing Patrick MacArthur
2018-03-29 19:16 ` [dts] [PATCH for-next v3 4/7] tests/TestSuite_nic_single_core_perf: Use user-specified output dir Patrick MacArthur
2018-03-29 19:16 ` [dts] [PATCH for-next v3 5/7] framework/pktgen: Start T-Rex during prepare_generator() Patrick MacArthur
2018-03-29 19:16 ` [dts] [PATCH for-next v3 6/7] doc: Add T-Rex section to documentation Patrick MacArthur
2018-03-29 19:16 ` [dts] [PATCH for-next v3 7/7] tests/TestSuite_nic_single_core_perf: Report the results in JSON format Patrick MacArthur
2018-03-30  8:17 ` [dts] [PATCH for-next v3 0/7] Fixes and modifications for T-Rex integration and nic_single_core_perf Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).