From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1] tests/vm2vm_virtio_user_cbdma: add port=[] in create_eal_parameters API
Date: Thu, 26 May 2022 23:41:29 -0400 [thread overview]
Message-ID: <20220527034129.530032-1-weix.ling@intel.com> (raw)
When call the create_eal_parameters API to genrate the eal parameters,
if the default no ports parameter, the create_eal_parameters API will
use the PCI info in conf/ports.conf, so add port=[] parameter.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_vm2vm_virtio_user_cbdma.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vm2vm_virtio_user_cbdma.py b/tests/TestSuite_vm2vm_virtio_user_cbdma.py
index 35d69325..0057047c 100644
--- a/tests/TestSuite_vm2vm_virtio_user_cbdma.py
+++ b/tests/TestSuite_vm2vm_virtio_user_cbdma.py
@@ -269,7 +269,7 @@ class TestVM2VMVirtioUserCbdma(TestCase):
if dump the virtio-testpmd, the virtio-testpmd should started before launch pdump
"""
eal_params = self.dut.create_eal_parameters(
- cores="Default", prefix="virtio-user1", fixed_prefix=True
+ cores="Default", prefix="virtio-user1", fixed_prefix=True, ports=[]
)
command_line = (
self.app_pdump
--
2.25.1
next reply other threads:[~2022-05-27 3:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-27 3:41 Wei Ling [this message]
2022-05-27 4:01 ` He, Xingguang
2022-05-27 5:23 ` He, Xingguang
2022-05-28 8:53 ` 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=20220527034129.530032-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).