From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 96732A04B5; Mon, 26 Oct 2020 03:01:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A6E6E1D9E; Mon, 26 Oct 2020 03:01:21 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A30B6100C for ; Mon, 26 Oct 2020 03:01:19 +0100 (CET) IronPort-SDR: WDo/7gM7uh1JrrFJyjiT0BAp/sawwULp+Y1+IRz68pS4lNU40OVn44nzRzVZlNhJlpIiYAW2vd UcxyD4FtLk2w== X-IronPort-AV: E=McAfee;i="6000,8403,9785"; a="167992953" X-IronPort-AV: E=Sophos;i="5.77,417,1596524400"; d="scan'208";a="167992953" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2020 19:01:15 -0700 IronPort-SDR: JN/rOvMHx3VrLmlaX2JnhwzWHcrN/jfaIjSDtxauTjJWUdgpzVO2HDQQmTEKbXfN2D9b06DVPs 3v8lRckUrsIQ== X-IronPort-AV: E=Sophos;i="5.77,417,1596524400"; d="scan'208";a="349946357" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2020 19:01:13 -0700 From: JiangYuX To: dts@dpdk.org Cc: JiangYu Date: Mon, 26 Oct 2020 10:02:01 +0000 Message-Id: <20201026100201.1281654-1-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk updates X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" From: JiangYu For DPDK commit: b0b672aea, PMD_BOND has been defined by default, should not redefine. Signed-off-by: JiangYu --- tests/TestSuite_pvp_virtio_bonding.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/TestSuite_pvp_virtio_bonding.py b/tests/TestSuite_pvp_virtio_bonding.py index 10cfe74..e6d0e61 100644 --- a/tests/TestSuite_pvp_virtio_bonding.py +++ b/tests/TestSuite_pvp_virtio_bonding.py @@ -210,23 +210,11 @@ class TestPVPVirtIOBonding(TestCase): raise Exception("Set up VM ENV failed") except Exception as e: self.logger.error("ERROR: Failure for %s" % str(e)) - if self.dut.build_type == 'meson': - self.build_pmd_bond(self.vm_dut) - - def build_pmd_bond(self, user_dut): - user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'y'}) - user_dut.build_install_dpdk(self.target) - - def restore_env(self, user_dut): - user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'n'}) - user_dut.build_install_dpdk(self.target) def stop_testpmd_and_vm(self): """ quit testpmd on vhost and stop vm """ - if self.dut.build_type == 'meson': - self.restore_env(self.vm_dut) self.vhost_testpmd.quit() self.vm.stop() -- 2.7.4