test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: Jianbo Liu <jianbo.liu@linaro.org>, "dts@dpdk.org" <dts@dpdk.org>,
	"herbert.guan@arm.com" <herbert.guan@arm.com>
Subject: Re: [dts] [PATCH] tests/kni: fix failures for kni
Date: Thu, 17 Aug 2017 12:40:54 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62E555B2@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1502947351-14446-1-git-send-email-jianbo.liu@linaro.org>

Hi Jianbo,
Is there any particular reason for not chose hyper-threading cores?
There're some performance cases are depending on hyper-threading cores. 
If hyper-threading is not enabled on the platform, those cases won't be able to run. 
Could you please clear the reason?

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jianbo Liu
> Sent: Thursday, August 17, 2017 1:23 PM
> To: dts@dpdk.org; herbert.guan@arm.com
> Cc: Jianbo Liu <jianbo.liu@linaro.org>
> Subject: [dts] [PATCH] tests/kni: fix failures for kni
> 
> The tests need to enable KNI ethtool, and recomple DPDK.
> Also bind to thread 0 of each core for function tests.
> 
> Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
> ---
>  tests/TestSuite_kni.py | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
> index acd6230..93203f5 100644
> --- a/tests/TestSuite_kni.py
> +++ b/tests/TestSuite_kni.py
> @@ -52,8 +52,8 @@ packet_sizes_routing = [64, 256]
> 
>  ports_cores_template =
> '\(P([0123]),(C\{\d.\d.\d\}),(C\{\d.\d.\d\}),(C\{\d.\d.\d\}),?(C\{\d.\d.\d
> \})?\),?'	
> 
> -default_1_port_cores_config = '(P0,C{1.0.0},C{1.1.0},C{1.0.1})'
> -default_2_port_cores_config =
> '(P0,C{1.0.0},C{1.1.0},C{1.0.1}),(P1,C{1.2.0},C{1.3.0},C{1.2.1})'
> +default_1_port_cores_config = '(P0,C{1.0.0},C{1.1.0},C{1.2.0})'
> +default_2_port_cores_config =
> '(P0,C{1.0.0},C{1.1.0},C{1.2.0}),(P1,C{1.3.0},C{1.4.0},C{1.5.0})'
> 
>  stress_test_iterations = 50
>  stress_test_random_iterations = 50
> @@ -258,6 +258,9 @@ class TestKni(TestCase):
>          self.verify('no brctl' not in out,
>                      "The linux tool brctl is needed to run this test
> suite")
> 
> +        self.dut.send_expect("sed -i -e
> 's/KNI_KMOD_ETHTOOL=n$/KNI_KMOD_ETHTOOL=y/' config/common_base", "# ", 30)
> +        self.dut.build_install_dpdk(self.target)
> +
>          out = self.dut.send_expect("make -C ./examples/kni/", "# ", 5)
>          self.verify('Error' not in out, "Compilation failed")
> 
> @@ -1207,5 +1210,9 @@ class TestKni(TestCase):
>          """
>          Run after each test suite.
>          """
> +
> +        self.dut.send_expect("sed -i -e
> 's/KNI_KMOD_ETHTOOL=y$/KNI_KMOD_ETHTOOL=n/' config/common_base", "# ", 30)
> +        self.dut.build_install_dpdk(self.target)
> +
>          self.dut.kill_all()
>          self.dut.send_expect("rmmod rte_kni", "# ", 10)
> --
> 1.9.1

  reply	other threads:[~2017-08-17 12:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  5:22 Jianbo Liu
2017-08-17 12:40 ` Liu, Yong [this message]
2017-08-18  1:55   ` Jianbo Liu
2017-08-18  8:55     ` 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=86228AFD5BCD8E4EBFD2B90117B5E81E62E555B2@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=herbert.guan@arm.com \
    --cc=jianbo.liu@linaro.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).