test suite reviews and discussions
 help / color / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: modify max vdev number to 1023
  2020-10-15 16:59 [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: modify max vdev number to 1023 JiangYuX
@ 2020-10-15  9:00 ` Jiang, YuX
  0 siblings, 0 replies; 2+ messages in thread
From: Jiang, YuX @ 2020-10-15  9:00 UTC (permalink / raw)
  To: Jiang, YuX, dts

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

Tested-by: JiangYuX <yux.jiang@intel.com>

    Best Regards
    Jiang yu


> -----Original Message-----
> From: JiangYuX [mailto:yux.jiang@intel.com]
> Sent: Friday, October 16, 2020 1:00 AM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: modify max
> vdev number to 1023

[-- Attachment #2: TestVhost1024Ethports.log --]
[-- Type: application/octet-stream, Size: 470315 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: modify max vdev number to 1023
@ 2020-10-15 16:59 JiangYuX
  2020-10-15  9:00 ` Jiang, YuX
  0 siblings, 1 reply; 2+ messages in thread
From: JiangYuX @ 2020-10-15 16:59 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

From: JiangYu <yux.jiang@intel.com>

According to DPDK-24125, the value of MAX_FDS is 1024 and there is an extra gobal fd,
the number of vdev is limit 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..29a090a 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
+        # According to DPDK-24125, the number of vdev is limit 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 16:59 [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: modify max vdev number to 1023 JiangYuX
2020-10-15  9:00 ` Jiang, YuX

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox