From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: Rami Rosen <ramirose@gmail.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] tests/pmdrssreta: change hard coded corelist
Date: Wed, 3 Apr 2019 16:29:01 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA5B53D@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20190325190134.5611-1-ramirose@gmail.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Rami Rosen
> Sent: Monday, March 25, 2019 12:02 PM
> To: dts@dpdk.org
> Cc: Rami Rosen <ramirose@gmail.com>
> Subject: [dts] [PATCH] tests/pmdrssreta: change hard coded corelist
>
> This patch changes the hard coded corelist to the actual cores in pmdrssreta.
>
> Following conceptually this patch:
> http://mails.dpdk.org/archives/dts/2019-March/005464.html
>
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
> ---
> tests/TestSuite_pmdrssreta.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
> index 7709730..89086c1 100644
> --- a/tests/TestSuite_pmdrssreta.py
> +++ b/tests/TestSuite_pmdrssreta.py
> @@ -172,6 +172,8 @@ class TestPmdrssreta(TestCase):
> """
> Run at the start of each test suite.
> """
> + cores = self.dut.get_core_list("all")
> + self.coremask = utils.create_mask(cores)
>
> ports = self.dut.get_ports(self.nic)
> self.ports_socket = self.dut.get_numa_id(ports[0]) @@ -242,7 +244,8
> @@ class TestPmdrssreta(TestCase):
> localPort = self.tester.get_local_port(dutPorts[0])
> itf = self.tester.get_interface(localPort)
> self.dut.kill_all()
> - self.dut.send_expect("./%s/app/testpmd -c fffff -n %d -- -i --
> coremask=0xffffe --rxq=2 --txq=2" % (self.target,
> self.dut.get_memory_channels()), "testpmd> ", 120)
> + self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i
> + --rxq=2 --txq=2" % (self.target, self.coremask,
> + self.dut.get_memory_channels()), "testpmd> ", 120)
> +
> self.dut.send_expect("start", "testpmd> ", 120)
> out = self.dut.send_expect("show port info all", "testpmd> ", 120)
> self.dut.send_expect("quit", "# ", 30)
> --
> 2.19.2
prev parent reply other threads:[~2019-04-03 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-25 19:01 Rami Rosen
2019-04-03 16:29 ` Tu, Lijuan [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=8CE3E05A3F976642AAB0F4675D0AD20E0BA5B53D@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=ramirose@gmail.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).