test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter
@ 2021-03-29  5:54 Ling Wei
  2021-03-29  5:57 ` Ling, WeiX
  2021-03-30  5:55 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Ling Wei @ 2021-03-29  5:54 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

As DPDK community will remove support dequeue zero copy feature in
20.11,so remove dequeue-zero-copy parameter when start testpmd.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_vhost_user_live_migration.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_vhost_user_live_migration.py b/tests/TestSuite_vhost_user_live_migration.py
index 6d524db7..f73411e5 100644
--- a/tests/TestSuite_vhost_user_live_migration.py
+++ b/tests/TestSuite_vhost_user_live_migration.py
@@ -142,16 +142,13 @@ class TestVhostUserLiveMigration(TestCase):
         self.verify(len(self.core_list0) >= core_number and len(self.core_list1) >= core_number,
                     'There have not enough cores to start testpmd on duts')
 
-    def launch_testpmd_as_vhost_on_both_dut(self, zero_copy=False):
+    def launch_testpmd_as_vhost_on_both_dut(self):
         """
         start testpmd as vhost user on host_dut and backup_dut
         """
         self.get_core_list()
-        zero_copy_str = ''
-        if zero_copy is True:
-            zero_copy_str = ',dequeue-zero-copy=1'
         testcmd = self.testpmd_path + " "
-        vdev = ['eth_vhost0,iface=%s/vhost-net,queues=%d%s' % (self.base_dir, self.queue_number, zero_copy_str)]
+        vdev = ['eth_vhost0,iface=%s/vhost-net,queues=%d' % (self.base_dir, self.queue_number)]
         para = " -- -i --nb-cores=%d --rxq=%d --txq=%d" % (self.queue_number, self.queue_number, self.queue_number)
         eal_params_first = self.dut.create_eal_parameters(cores=self.core_list0, prefix='vhost', ports=[self.host_pci_info], vdevs=vdev)
         eal_params_secondary = self.dut.create_eal_parameters(cores=self.core_list1, prefix='vhost', ports=[self.backup_pci_info], vdevs=vdev)
-- 
2.25.1


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

* Re: [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter
  2021-03-29  5:54 [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter Ling Wei
@ 2021-03-29  5:57 ` Ling, WeiX
  2021-03-30  2:37   ` Wang, Yinan
  2021-03-30  5:55 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Ling, WeiX @ 2021-03-29  5:57 UTC (permalink / raw)
  To: dts

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

> -----Original Message-----
> From: Ling, WeiX <weix.ling@intel.com>
> Sent: Monday, March 29, 2021 01:55 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/vhost_user_live_migration: delete dequeue-
> zero-copy parameter
> 
Tested-by: Wei Ling <weix.ling@intel.com>

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

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

* Re: [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter
  2021-03-29  5:57 ` Ling, WeiX
@ 2021-03-30  2:37   ` Wang, Yinan
  0 siblings, 0 replies; 4+ messages in thread
From: Wang, Yinan @ 2021-03-30  2:37 UTC (permalink / raw)
  To: Ling, WeiX, dts

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: 2021?3?29? 13:57
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/vhost_user_live_migration: delete
> dequeue-zero-copy parameter
> 
> > -----Original Message-----
> > From: Ling, WeiX <weix.ling@intel.com>
> > Sent: Monday, March 29, 2021 01:55 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/vhost_user_live_migration: delete
> dequeue-
> > zero-copy parameter
> >
> Tested-by: Wei Ling <weix.ling@intel.com>

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

* Re: [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter
  2021-03-29  5:54 [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter Ling Wei
  2021-03-29  5:57 ` Ling, WeiX
@ 2021-03-30  5:55 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-03-30  5:55 UTC (permalink / raw)
  To: Ling, WeiX, dts, Wang,  Yinan; +Cc: Ling, WeiX

> As DPDK community will remove support dequeue zero copy feature in 20.11,so
> remove dequeue-zero-copy parameter when start testpmd.
> 
> Signed-off-by: Ling Wei <weix.ling@intel.com>

Test plan need to update at the same time, thanks

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

end of thread, other threads:[~2021-03-30  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29  5:54 [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter Ling Wei
2021-03-29  5:57 ` Ling, WeiX
2021-03-30  2:37   ` Wang, Yinan
2021-03-30  5:55 ` Tu, Lijuan

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