From: JiangYuX <yux.jiang@intel.com>
To: dts@dpdk.org
Cc: JiangYu <yux.jiang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023
Date: Mon, 19 Oct 2020 09:52:42 +0000 [thread overview]
Message-ID: <20201019095242.838618-1-yux.jiang@intel.com> (raw)
From: JiangYu <yux.jiang@intel.com>
The value of MAX_FDS is 1024 and there is an extra global fd, DPDK limits
the number of vdev to 1023, so modify script to adapt.
Signed-off-by: JiangYu <yux.jiang@intel.com>
---
tests/TestSuite_vhost_1024_ethports.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_vhost_1024_ethports.py b/tests/TestSuite_vhost_1024_ethports.py
index afac0fa..5eb89c3 100644
--- a/tests/TestSuite_vhost_1024_ethports.py
+++ b/tests/TestSuite_vhost_1024_ethports.py
@@ -44,7 +44,8 @@ class TestVhost1024Ethports(TestCase):
"""
Run at the start of each test suite.
"""
- self.max_ethport = 1024
+ # DPDK limits the number of vdev to 1023
+ self.max_ethport = 1023
self.queue = 1
self.dut_ports = self.dut.get_ports()
self.verify(len(self.dut_ports) >= 1, 'Insufficient ports for testing')
--
2.7.4
next reply other threads:[~2020-10-19 1:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 9:52 JiangYuX [this message]
2020-10-19 8:03 ` Ma, LihongX
2020-10-22 9:01 ` Tu, Lijuan
-- strict thread matches above, loose matches on Subject: below --
2020-10-16 16:59 JiangYuX
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=20201019095242.838618-1-yux.jiang@intel.com \
--to=yux.jiang@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).