From: "Liu, Yong" <yong.liu@intel.com>
To: "Xu, HuilongX" <huilongx.xu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] fix reset_queues case failed, when nic on sock 1
Date: Tue, 4 Aug 2015 05:03:01 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EB46A1@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1438586810-22190-1-git-send-email-huilongx.xu@intel.com>
Applied in 1.1 branch. Thanks.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilong,xu
> Sent: Monday, August 03, 2015 3:27 PM
> To: dts@dpdk.org
> Subject: [dts] fix reset_queues case failed, when nic on sock 1
>
> From: huilong xu <huilongx.xu@intel.com>
>
>
> Signed-off-by: huilong xu <huilongx.xu@intel.com>
> ---
> tests/TestSuite_shutdown_api.py | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_shutdown_api.py
> b/tests/TestSuite_shutdown_api.py
> index 482091a..92ab67f 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -249,14 +249,16 @@ class TestShutdownApi(TestCase):
>
> self.tester.get_interface(self.tester.get_local_port(self.ports[1]))
> ]
> #blackList = self.dut.create_blacklist_string(self.target,
> self.nic)
> + testcorelist = self.dut.get_core_list("1S/8C/1T",
> socket=self.ports_socket)
>
> - self.pmdout.start_testpmd("1S/8C/1T", "--portmask=%s" %
> dts.create_mask([self.ports[0], self.ports[1]]), socket=self.ports_socket)
> + self.pmdout.start_testpmd(testcorelist, "--portmask=%s" %
> dts.create_mask([self.ports[0], self.ports[1]]), socket=self.ports_socket)
> + fwdcoremask = dts.create_mask(testcorelist[-3:])
>
> self.dut.send_expect("port stop all", "testpmd> ", 100)
> self.dut.send_expect("port config all rxq 2", "testpmd> ")
> self.dut.send_expect("port config all txq 2", "testpmd> ")
> #self.dut.send_expect("set coremask 0x1e", "testpmd> ")
> - self.dut.send_expect("set coremask 0xe0", "testpmd> ")
> + self.dut.send_expect("set coremask %s" % fwdcoremask, "testpmd> ")
> self.dut.send_expect("set fwd mac", "testpmd>")
> self.dut.send_expect("port start all", "testpmd> ", 100)
> out = self.dut.send_expect("show config rxtx", "testpmd> ")
> --
> 1.7.4.4
prev parent reply other threads:[~2015-08-04 5:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 7:26 huilong,xu
2015-08-04 5:03 ` Liu, Yong [this message]
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=86228AFD5BCD8E4EBFD2B90117B5E81E10EB46A1@SHSMSX103.ccr.corp.intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=huilongx.xu@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).