From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code
Date: Tue, 18 Feb 2020 12:22:46 +0800 [thread overview]
Message-ID: <20200218042246.2994-3-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <20200218042246.2994-1-haiyangx.zhao@intel.com>
*.In some test env, the function get_core_list return cores
not as much as we expected, so use all.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index 6a76bb2..bf97a91 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -91,7 +91,7 @@ class TestVhostVirtioPmdInterrupt(TestCase):
self.verify(self.cores_num >= (self.nb_cores + 1),
"There has not enough cores to running case: %s" %
self.running_case)
- self.core_list = self.dut.get_core_list(core_config,
+ self.core_list = self.dut.get_core_list('all',
socket=self.ports_socket)
def prepare_vm_env(self):
--
2.17.1
next prev parent reply other threads:[~2020-02-18 4:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 4:22 [dts] [PATCH V1] framework/dut:optimize code Haiyang Zhao
2020-02-18 4:22 ` [dts] [PATCH V1] tests/l2fwd:fix a bug Haiyang Zhao
2020-02-18 7:09 ` Tu, Lijuan
2020-02-18 4:22 ` Haiyang Zhao [this message]
2020-02-18 7:09 ` [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code Tu, Lijuan
2020-02-18 7:09 ` [dts] [PATCH V1] framework/dut:optimize code 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=20200218042246.2994-3-haiyangx.zhao@intel.com \
--to=haiyangx.zhao@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).