From: "Zhang, XiX" <xix.zhang@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
Date: Tue, 19 May 2020 08:59:43 +0000 [thread overview]
Message-ID: <E22AF82976AEF646B9B29E4604B9BED504CA5AF7@CDSMSX102.ccr.corp.intel.com> (raw)
In-Reply-To: <1589878132-53738-1-git-send-email-xix.zhang@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
Tested-by:xix.zhang@intel.com
-----Original Message-----
From: Zhang, XiX
Sent: Tuesday, May 19, 2020 4:49 PM
To: dts@dpdk.org
Cc: Zhang, XiX <xix.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
test_positive use all test_list
Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
tests/TestSuite_multiple_pthread.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index 8825628..83ab7bd 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -196,9 +196,8 @@ class TestMultiplePthread(TestCase):
"cpu_list":[n[1], n[2], n[3], n[5]],
"core_list":n[1:6]}
]
- params_list = random.sample(test_list, 1)
- params = params_list[0]
- self.multiple_pthread_test(params["lcores"], params["cpu_list"], params["core_list"])
+ for params in test_list:
+ self.multiple_pthread_test(params["lcores"], params["cpu_list"], params["core_list"])
def test_negative(self):
"""
--
2.17.2
[-- Attachment #2: 0001-tests-multiple_pthread-Adaptive-dpdk-update.patch --]
[-- Type: application/octet-stream, Size: 1360 bytes --]
From 74cb5ff9824c3a75c4c8db6c9cb9eb65e0983a31 Mon Sep 17 00:00:00 2001
From: ChenBo <box.c.chen@intel.com>
Date: Wed, 13 May 2020 15:55:29 +0800
Subject: [dts][PATCH V1] tests/multiple_pthread: Adaptive dpdk update
Adaptive dpdk update
Signed-off-by: ChenBo <box.c.chen@intel.com>
---
tests/TestSuite_multiple_pthread.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index 8825628..4d428ab 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -127,9 +127,9 @@ class TestMultiplePthread(TestCase):
# Allocate enough streams based on the number of CPUs
if len(cpu_list) > 2:
queue_num = len(cpu_list)
- cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i --txq=%d --rxq=%d' % (self.target, lcores, queue_num, queue_num)
+ cmdline = './%s/app/testpmd --lcores="%s" -n 4 --no-telemetry -- -i --txq=%d --rxq=%d' % (self.target, lcores, queue_num, queue_num)
else:
- cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target, lcores)
+ cmdline = './%s/app/testpmd --lcores="%s" -n 4 --no-telemetry -- -i' % (self.target, lcores)
# start application
self.dut.send_expect(cmdline, "testpmd", 60)
--
2.17.1
next prev parent reply other threads:[~2020-05-19 8:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 8:48 xizhan4x
2020-05-19 8:59 ` Zhang, XiX [this message]
2020-05-20 2:56 ` 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=E22AF82976AEF646B9B29E4604B9BED504CA5AF7@CDSMSX102.ccr.corp.intel.com \
--to=xix.zhang@intel.com \
--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).