test suite reviews and discussions
 help / color / mirror / Atom feed
From: yufengmx <yufengx.mo@intel.com>
To: dts@dpdk.org, lijuan.tu@intel.com
Cc: yufengmx <yufengx.mo@intel.com>
Subject: [dts] [PATCH V2 1/2] conf/l3fwd: support set test ports in cfg file
Date: Fri, 17 Jan 2020 11:14:21 +0800	[thread overview]
Message-ID: <20200117031422.57717-2-yufengx.mo@intel.com> (raw)
In-Reply-To: <20200117031422.57717-1-yufengx.mo@intel.com>


add a key to select custom dut ports to run testing. If not set this key in cfg file,
use default dut port list of dts framework.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd.cfg | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/conf/l3fwd.cfg b/conf/l3fwd.cfg
index e566aff..a8a9af4 100644
--- a/conf/l3fwd.cfg
+++ b/conf/l3fwd.cfg
@@ -1,6 +1,9 @@
 # Throughput numbers vary in different environment.
 # Users could change these configuration on demand:
 #
+#  - port_list defines which ports are used to run testing If not set this key,
+#  use default dut port list of dts framework.
+#    port_list=[1,2,...]
 #  - test_parameters defines the combination of frame size and descriptor
 # numbers, and the pattern is
 #   {
@@ -52,6 +55,7 @@
 [suite]
 update_expected = True
 
+port_list=None
 test_duration = 12
 accepted_tolerance = 1
 test_parameters = {
-- 
2.21.0


  reply	other threads:[~2020-01-17  3:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-17  3:14 [dts] [PATCH V2 0/2] l3fwd: " yufengmx
2020-01-17  3:14 ` yufengmx [this message]
2020-01-17  3:14 ` [dts] [PATCH V2 2/2] tests/l3fwd: " yufengmx
2020-01-17  5:34 ` [dts] [PATCH V2 0/2] l3fwd: " Tu, Lijuan

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=20200117031422.57717-2-yufengx.mo@intel.com \
    --to=yufengx.mo@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    /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).