test suite reviews and discussions
 help / color / mirror / Atom feed
From: Patrick MacArthur <pmacarth@iol.unh.edu>
To: dts@dpdk.org
Cc: dpdklab@iol.unh.edu
Subject: [dts] [PATCH for-next v3 0/7] Fixes and modifications for T-Rex integration and nic_single_core_perf
Date: Thu, 29 Mar 2018 15:15:58 -0400	[thread overview]
Message-ID: <20180329191605.5404-1-pmacarth@iol.unh.edu> (raw)

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

             reply	other threads:[~2018-03-29 19:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29 19:15 Patrick MacArthur [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180329191605.5404-1-pmacarth@iol.unh.edu \
    --to=pmacarth@iol.unh.edu \
    --cc=dpdklab@iol.unh.edu \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).