From patchwork Wed Jun 22 06:11:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113209 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 8CD0CA04FD; Wed, 22 Jun 2022 08:14:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0202A40151; Wed, 22 Jun 2022 08:14:13 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 282CA4014F for ; Wed, 22 Jun 2022 08:14:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655878452; x=1687414452; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sX2kad2chNsUhr5HGFT3UCFnJNtUPd8HxarqvqVIol8=; b=GpSZBtZy4FF2RM9TzbCZxfNixdCHEidZXsAZuicShv3nYkCcDZ+wo+ku DTa4syeVJjYYpA8JyZIJnBkRpjovCyUHQFaMb1HZiR4inGE9G2m/cVGlT IBOAp6iKACGwkJ8vM6lYlXTR6yPj0zTLqCSctEFrC5YtfhMRWt8K/7mCR f9p0B33WrH0FXIlsgcKENfXyhHeWxB6ACujAJ+0dME4v/er0jUystbors X7Zu4f0/9z6ZMVXTWnLLthxBX3BHZxSZ8844rVHW7SGw0jW97+gGWC3oK 6Ozh8l1tgsfaPN00YFtmsLZeA5WaBTDEnSnp2X50v4HyNHSpFE14KBiPS w==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="269043271" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="269043271" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:14:10 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="644018072" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:14:09 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] tests/vm2vm_virtio_net_perf: delete restore dut interface step Date: Wed, 22 Jun 2022 02:11:52 -0400 Message-Id: <20220622061152.1588586-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 When start vhost side testpmd with no_pci=True, so no need to restore dut interface now, and delete cbdma related code. Signed-off-by: Wei Ling --- tests/TestSuite_vm2vm_virtio_net_perf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/TestSuite_vm2vm_virtio_net_perf.py b/tests/TestSuite_vm2vm_virtio_net_perf.py index 9356100f..ec659519 100644 --- a/tests/TestSuite_vm2vm_virtio_net_perf.py +++ b/tests/TestSuite_vm2vm_virtio_net_perf.py @@ -45,7 +45,6 @@ class TestVM2VMVirtioNetPerf(TestCase): self.pmd_vhost = PmdOutput(self.dut, self.vhost) self.app_testpmd_path = self.dut.apps_name["test-pmd"] self.checked_vm = False - self.dut.restore_interfaces() def set_up(self): """ @@ -175,7 +174,6 @@ class TestVM2VMVirtioNetPerf(TestCase): def prepare_test_env( self, - cbdma=False, no_pci=True, client_mode=False, enable_queues=1, @@ -184,7 +182,6 @@ class TestVM2VMVirtioNetPerf(TestCase): opt_queue=None, combined=False, rxq_txq=None, - iova_mode="", ): """ start vhost testpmd and qemu, and config the vm env