From patchwork Wed Jun 22 06:30:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113212 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 3AD9CA04FD; Wed, 22 Jun 2022 08:32:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3417A40DDB; Wed, 22 Jun 2022 08:32:21 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 305F04069C for ; Wed, 22 Jun 2022 08:32:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655879540; x=1687415540; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=588ihM1/KF8+mbupi1USU0SD8XRplf7sSQSrv7AfhRA=; b=ARLC0TFl7xVUctXEK77vF+brXecSdAO4+pUeXc0VQXkNrAk84bQGlUf1 ZnqP1tca6BokzfjPd/OiD/xeiF5CKGcYDzMn21USlpi3mL2z/+808lc2Z 85L6bYaMjGYXdrHFZUszPzfW6wy5LOLQhP0pDGnI7X5YnKzQK5KV+yO3E RzyNBchY8cZzGWqMHH/esV4HcpqHG6Ddt+TS9UI/C42Plo5QGzsr/eDdQ QkR2t6dzks2hkgZdgYvjOESsIpHwQOhMXgPrcH7Bh/7tKMaJ2PekqY1mM zivRuhyLK73V2UdfTZeXqWSmjpI10W8GLRyF17NgCBP9gB96AUEgyqqky w==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="260758838" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="260758838" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:19 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945585" 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:18 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/5] tests/dpdk_gro_lib: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:00 -0400 Message-Id: <20220622063000.1588955-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_gro_lib.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py index f00dc054..7cfaeb45 100644 --- a/tests/TestSuite_dpdk_gro_lib.py +++ b/tests/TestSuite_dpdk_gro_lib.py @@ -273,7 +273,6 @@ class TestDPDKGROLib(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, run_info): """ From patchwork Wed Jun 22 06:30:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113213 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 576A0A04FD; Wed, 22 Jun 2022 08:32:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53CF640A84; Wed, 22 Jun 2022 08:32:31 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id DF6164069C for ; Wed, 22 Jun 2022 08:32: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=1655879550; x=1687415550; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3XMCg2VvWts/r3s56xgcTzUaTptdSVbWOm/xw9DE0so=; b=MFLfuC+b42tXq8Em0w5Bp0zgU8smGH209PK/OOvDkK6JiMqgbFqPUTUt VM/uvafPiTtCzNLX4FhBYfYZXpfGdaumsZEfz9tYDwMMtP9o6IMufS5V+ BpL/sJPmmIZnHGfKlnAfRk+MZkY4Es80Mcbaf6FG0kYepNL39ZL0AA4hU v/HwooNAjA9Z9nJ1AV8bb590gWSoPXa/jkrKWSPykoqCPmbA0iMhsB/nI MiPmSRRYrWq2Ba7i0hYCeHd2pBQHH6JjAuh2y5keCaoq75bFYKu/8AxVJ z9v2VInSGf6DIJW/iY9guJIOryvl+9qSq0zxurhv/rJKKm0gCLYjsdVup Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="279097099" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="279097099" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:28 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945669" 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:27 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 2/5] tests/dpdk_gro_lib_cbdma: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:10 -0400 Message-Id: <20220622063010.1589015-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_gro_lib_cbdma.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/TestSuite_dpdk_gro_lib_cbdma.py b/tests/TestSuite_dpdk_gro_lib_cbdma.py index 50eb58c5..224dcbb2 100644 --- a/tests/TestSuite_dpdk_gro_lib_cbdma.py +++ b/tests/TestSuite_dpdk_gro_lib_cbdma.py @@ -232,7 +232,6 @@ class TestDPDKGROLibCbdma(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, run_info): """ 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): """ From patchwork Wed Jun 22 06:30:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113215 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 A9088A04FD; Wed, 22 Jun 2022 08:32:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3A6140A8B; Wed, 22 Jun 2022 08:32:51 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6B65C4069C for ; Wed, 22 Jun 2022 08:32:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655879569; x=1687415569; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vUIef7+IIzHFl5LcpYaxa6TA+KRr2f3sY+jQQGzMQJM=; b=SH0cHLlbAzB+XC84ey7xMZDpwXF+mDAFO3+MJ0XgZ/xZJGGI54D9Ld0l uNSKDgtQ+ahnL4FPL7kQ0/nfwKuZw/1ZpUP2WBoPJSPKwuq7W6YIg+O9M +pN+UYH+xf2s+F1qpFRabEfFHuHGu2NugV2haphqFKyXe8nprN80MITQz CRVLyk0KI9ds+2HHRjA3WLEI6AZwkx4sTaGTmMd4gXGZTDM5uZXi3qcFJ 7cNcRJqCsl3FFG8YajANzCPKNKLxXOysZ541M0OSHE2pSH8FYRFKSyCF/ IgOWdY4b24i4GZPwFodhXoA/3TWBaOPrepsuf9TA+/iQaY/WFYqhGpC6n g==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="305778790" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="305778790" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:47 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945821" 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:46 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 4/5] tests/vhost_event_idx_interrupt: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:29 -0400 Message-Id: <20220622063029.1589135-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_vhost_event_idx_interrupt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py index 1713f980..f3951c5c 100644 --- a/tests/TestSuite_vhost_event_idx_interrupt.py +++ b/tests/TestSuite_vhost_event_idx_interrupt.py @@ -196,7 +196,6 @@ class TestVhostEventIdxInterrupt(TestCase): raise Exception("Set up VM ENV failed") except Exception as e: self.logger.error("ERROR: Failure for %s" % str(e)) - vm_dut.restore_interfaces() self.vm_dut.append(vm_dut) self.vm.append(vm_info) From patchwork Wed Jun 22 06:30:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113216 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 C5435A04FD; Wed, 22 Jun 2022 08:33:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C09FA4069F; Wed, 22 Jun 2022 08:33:00 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id A7F614069C for ; Wed, 22 Jun 2022 08:32:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655879578; x=1687415578; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uIB/BT7+rTeoWhIAF5rK5AdH7oAhF81Aa1zHXLVdjQg=; b=d3uFKP0OxwVWBlIu7isOFJap3UZ89Ou4ovU5gS/Cy/QKN1M556q2RlBw inq/QOinyh1yJ+KdBdJUcPIOpv/77CjEh9IBTl1L+eYUIl5wEuPvydviW N6h0JVpmLa3kwopFnS4kiilqnyOkk3trfmIWSNGsANcj4q9Qlfer/s9ow YK7hLy9wQUNivxSz7zwe9VnXOan5/yeOj2JxuuT7PzeIP7RSyD2MlEIPz omNS3Sg3SqjU+SWP+DjVdxDGtBFeCbtfTJNBWrbQJSA613R49hbpBXL6J FxC3Wae214GGFYyNrkyX7bU85HwCOuHnkpL+Xloy/7kyJxV2EJp57jPKI Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="344319411" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="344319411" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:57 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945890" 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:56 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 5/5] tests/vhost_event_idx_interrupt_cbdma: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:39 -0400 Message-Id: <20220622063039.1589195-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_vhost_event_idx_interrupt_cbdma.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py b/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py index 173ce925..2cf54df5 100644 --- a/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py +++ b/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py @@ -242,7 +242,6 @@ class TestVhostEventIdxInterruptCbdma(TestCase): raise Exception("Set up VM ENV failed") except Exception as e: self.logger.error("ERROR: Failure for %s" % str(e)) - vm_dut.restore_interfaces() self.vm_dut.append(vm_dut) self.vm.append(vm_info)