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 E8F0342C57; Thu, 8 Jun 2023 04:13:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA4B0410D3; Thu, 8 Jun 2023 04:13:30 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id B883940042 for ; Thu, 8 Jun 2023 04:13:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686190409; x=1717726409; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hddi73F5wxGEOwV7xfZjT5E9gEhjy+Z3IBjhRiLgYlo=; b=Hre6gjC+xaIslvRykotkNqD0yOh2K5xIlAeiDQiBJcegCD/0osfAE/R6 jhbfdzNCFGZGu5mC8KwI/0sq7M6ZMyjHWoz7YRyBSYmSxdMAb87/w78dm 4QYbxYB04ghOq9CE10J3KV9gQfoxApXDimVYgr3z//EY3ltvsGER6S1d8 hugAR8CbXUoFSGafwed7///FPnmf6/w13ZSJFBMxLJDiy2siWKv58rOse aTMq+bISGl2bDWVAwdqANpFwF1csMh3bu89C4JZHS0+YGCVXgOsHu4NUk ldAZPX+T3LEJiAdNTkCbl9YvwfAOX+JYCinrPeQvehsYxGO33QFWQbgOa Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="356029466" X-IronPort-AV: E=Sophos;i="6.00,225,1681196400"; d="scan'208";a="356029466" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2023 19:13:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="799633611" X-IronPort-AV: E=Sophos;i="6.00,225,1681196400"; d="scan'208";a="799633611" Received: from unknown (HELO dut222..) ([10.239.252.222]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2023 19:13:27 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] tests/vm2vm_virtio_net_perf_dsa: modify testsuite by tests/virtio_common.py have changed Date: Thu, 8 Jun 2023 10:13:20 +0800 Message-Id: <20230608021320.561531-1-weix.ling@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 As DTS 865c7212(tests/*_dsa: modify all dsa related testsuites by virtio_common optimize) So, modify testsuite call function name and function option. Signed-off-by: Wei Ling --- tests/TestSuite_vm2vm_virtio_net_perf_dsa.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py b/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py index 408713f8..b4d55fac 100644 --- a/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py +++ b/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py @@ -299,7 +299,7 @@ class TestVM2VMVirtioNetPerfDsa(TestCase): self.BC.run_iperf_test_between_2_vms() self.BC.check_iperf_result_between_2_vms() - if not self.check_2M_env: + if not self.BC.check_2M_hugepage_size: self.vhost_user_pmd.quit() self.start_vhost_testpmd( cores=self.vhost_core_list, @@ -947,10 +947,10 @@ class TestVM2VMVirtioNetPerfDsa(TestCase): param=vhost_param, no_pci=True, ) - self.check_ping_between_vms() - self.check_scp_file_valid_between_vms() - self.start_iperf() - self.get_perf_result() + self.BC.check_ping_between_2_vms() + self.BC.check_scp_file_between_2_vms() + self.BC.run_iperf_test_between_2_vms() + self.BC.check_iperf_result_between_2_vms() self.vhost_user_pmd.quit() vhost_eal_param = ( @@ -1338,7 +1338,7 @@ class TestVM2VMVirtioNetPerfDsa(TestCase): dsas = self.DC.bind_dsa_to_dpdk_driver( dsa_num=2, driver_name="vfio-pci", - dsa_index_list=[2, 3], + dsa_idxs=[2, 3], socket=self.ports_socket, ) dmas1 = ( @@ -1617,7 +1617,7 @@ class TestVM2VMVirtioNetPerfDsa(TestCase): dsas = self.DC.bind_dsa_to_dpdk_driver( dsa_num=2, driver_name="vfio-pci", - dsa_index_list=[2, 3], + dsa_idxs=[2, 3], socket=self.ports_socket, ) dmas1 = ( -- 2.34.1