From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1] tests/vhost_virtio_pmd_interrupt: fix the code unuse issue
Date: Fri, 17 Feb 2023 18:46:27 +0800 [thread overview]
Message-ID: <20230217104627.1999696-1-weix.ling@intel.com> (raw)
Fix the code unuse issue, if unuse the core_config parameter,
it will use all the cores of the socket.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_vhost_virtio_pmd_interrupt.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index a1f3e8dd..dd7ff491 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -70,7 +70,9 @@ class TestVhostVirtioPmdInterrupt(TestCase):
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("all", socket=self.ports_socket)
+ self.core_list = self.dut.get_core_list(
+ config=core_config, socket=self.ports_socket
+ )
def prepare_vm_env(self):
"""
--
2.25.1
next reply other threads:[~2023-02-17 11:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-17 10:46 Wei Ling [this message]
2023-03-07 3:22 ` lijuan.tu
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=20230217104627.1999696-1-weix.ling@intel.com \
--to=weix.ling@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).