test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023
  2020-10-19  9:52 [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023 JiangYuX
@ 2020-10-19  8:03 ` Ma, LihongX
  2020-10-22  9:01 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Ma, LihongX @ 2020-10-19  8:03 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

Acked-by:Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of JiangYuX
> Sent: Monday, October 19, 2020 5:53 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max
> vdev number to 1023
> 
> 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>


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

* [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023
@ 2020-10-19  9:52 JiangYuX
  2020-10-19  8:03 ` Ma, LihongX
  2020-10-22  9:01 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: JiangYuX @ 2020-10-19  9:52 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

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


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

* Re: [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023
  2020-10-19  9:52 [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023 JiangYuX
  2020-10-19  8:03 ` Ma, LihongX
@ 2020-10-22  9:01 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-10-22  9:01 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

> 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>

Applied

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

* [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023
@ 2020-10-16 16:59 JiangYuX
  0 siblings, 0 replies; 4+ messages in thread
From: JiangYuX @ 2020-10-16 16:59 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

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

The value of MAX_FDS is 1024 and there is an extra gobal 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


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

end of thread, other threads:[~2020-10-22  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19  9:52 [dts] [PATCH V1] tests/TestSuite_vhost_1024_ethports: adapt max vdev number to 1023 JiangYuX
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

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).