From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B24FA034F; Mon, 29 Mar 2021 07:55:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04E9740151; Mon, 29 Mar 2021 07:55:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 83FEB40042 for ; Mon, 29 Mar 2021 07:55:54 +0200 (CEST) IronPort-SDR: xfBytqVCx1J453o0+Qb/I9xz8S1AJ7h9F+5jzKy8Ny68ceF7qgj4wjIUFG88DLHP3SNGtzB7cu NH2bnBWLaC5Q== X-IronPort-AV: E=McAfee;i="6000,8403,9937"; a="171496764" X-IronPort-AV: E=Sophos;i="5.81,285,1610438400"; d="scan'208";a="171496764" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2021 22:55:53 -0700 IronPort-SDR: YCI3XN65qRMytmJy5Sz1+MfXZbtyLU940MgDAQVn9xDNYUwaoHIgO9AaVvh1nVRAAgq3DYz/Qq oGz/Mb+e7NOQ== X-IronPort-AV: E=Sophos;i="5.81,285,1610438400"; d="scan'208";a="417508848" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2021 22:55:52 -0700 From: Ling Wei To: dts@dpdk.org Cc: Ling Wei Date: Mon, 29 Mar 2021 13:54:37 +0800 Message-Id: <20210329055437.41653-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] tests/vhost_user_live_migration: delete dequeue-zero-copy parameter X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 --- 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