From patchwork Wed Jun 22 06:30:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113214 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 80DF0A04FD; Wed, 22 Jun 2022 08:32:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D0FF427F1; Wed, 22 Jun 2022 08:32:41 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 84B234069C for ; Wed, 22 Jun 2022 08:32:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655879559; x=1687415559; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hpzm7LgBFm5WtdHp2PsHhkbZMK/0ZkY3CjeBz2NzMII=; b=JdtDnXm4U7W7hiFrRPM7wsyZ4giq2bP88b9rBlvhpeizrWYvwDqQSrlB DVs0HfZzRSItnE5EwuApvznHGlBNoV+eJKTE1SfEzn1MTQAdkMe1AHt2I 6KYsIOMmMPfE1CZ/okzUZkWhD3Num8BWVkO4vr432dqsC5l+WXjLEInZh TD9hiGPS/O1IcwE52HjrEBDbSOthfT3WclPYgjaS2XwAMgKJ5Xy4zroJQ hcxbgvaWphtPrhgbQjc5ne+sV9/xhzBYKaKQFeWyo66N4crGb50XtqlBx UCXWmDhER3snq/vv31FW1KdVo6H6eNSgcmU1zRb2Ab5bAc0nux5v+LOd1 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="281401896" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="281401896" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:38 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945752" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:37 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 3/5] tests/dpdk_gso_lib: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:19 -0400 Message-Id: <20220622063019.1589075-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 In framework/virt_base.py, the start VMs method bind_dev default is True, when bind_dev=True, VMs will bind the VM's interfacet to kernel driver, so no need to restore VM's interface step now. Signed-off-by: Wei Ling --- tests/TestSuite_dpdk_gso_lib.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/TestSuite_dpdk_gso_lib.py b/tests/TestSuite_dpdk_gso_lib.py index ee71bcd6..f93b0a74 100644 --- a/tests/TestSuite_dpdk_gso_lib.py +++ b/tests/TestSuite_dpdk_gso_lib.py @@ -256,7 +256,6 @@ class TestDPDKGsoLib(TestCase): raise Exception("Set up VM ENV failed") except Exception as e: print((utils.RED("Failure for %s" % str(e)))) - self.vm1_dut.restore_interfaces() def iperf_result_verify(self, vm_client): """