From patchwork Mon Mar 29 02:25:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 89979 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 43972A034F; Mon, 29 Mar 2021 04:27:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AA504069D; Mon, 29 Mar 2021 04:27:06 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7CEB740042 for ; Mon, 29 Mar 2021 04:27:04 +0200 (CEST) IronPort-SDR: +/qPa6TW9kCniqFH7yiQIoRJ/e96OkbDJTUCHA81Y/Bqcqm1YgbD/Dq+HW1ACQbwDaC15Xor8I M2zBQGqywt7g== X-IronPort-AV: E=McAfee;i="6000,8403,9937"; a="188195819" X-IronPort-AV: E=Sophos;i="5.81,285,1610438400"; d="scan'208";a="188195819" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2021 19:27:03 -0700 IronPort-SDR: PhuvIrA1FoAQ8JlRXwhXAYKngpChNvvq2COCV2/uJLuUdr37sEjPMXrpI6dcsJPIoByfEWJL9e QI57PGA1Avcw== X-IronPort-AV: E=Sophos;i="5.81,285,1610438400"; d="scan'208";a="410853309" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2021 19:27:02 -0700 From: Ling Wei To: dts@dpdk.org Cc: Ling Wei Date: Mon, 29 Mar 2021 10:25:49 +0800 Message-Id: <20210329022549.21147-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dts] [PATCH V1 2/3] tests/vm2vm_virtio_pmd: delete invalid 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" Delete invalid parameter 'ports=[self.pci_info]' because of use 'no_pci=True' means not use any pci. Signed-off-by: Ling Wei --- tests/TestSuite_vm2vm_virtio_pmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py index 9cb51a8d..67e23666 100644 --- a/tests/TestSuite_vm2vm_virtio_pmd.py +++ b/tests/TestSuite_vm2vm_virtio_pmd.py @@ -93,7 +93,7 @@ class TestVM2VMVirtioPMD(TestCase): testcmd = self.app_testpmd_path + " " vdev1 = "--vdev 'net_vhost0,iface=%s/vhost-net0,queues=1' " % self.base_dir vdev2 = "--vdev 'net_vhost1,iface=%s/vhost-net1,queues=1' " % self.base_dir - eal_params = self.dut.create_eal_parameters(cores=vhost_mask, no_pci=True, prefix='vhost', ports=[self.pci_info]) + eal_params = self.dut.create_eal_parameters(cores=vhost_mask, no_pci=True, prefix='vhost') para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024" self.command_line = testcmd + eal_params + vdev1 + vdev2 + para self.vhost_user.send_expect(self.command_line, "testpmd> ", 30)