From patchwork Tue Nov 16 14:51:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104366 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 8E31FA0C45; Tue, 16 Nov 2021 07:50:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80C9C40DF5; Tue, 16 Nov 2021 07:50:18 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 53F9A40040 for ; Tue, 16 Nov 2021 07:50:16 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843018" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843018" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:15 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948378" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:13 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 1/7] test_plans/vhost_event_idx_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:24 +0000 Message-Id: <20211116145130.113807-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete Prerequisites Signed-off-by: Lingli Chen --- .../vhost_event_idx_interrupt_test_plan.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test_plans/vhost_event_idx_interrupt_test_plan.rst b/test_plans/vhost_event_idx_interrupt_test_plan.rst index 13ed7a9c..fe38292b 100644 --- a/test_plans/vhost_event_idx_interrupt_test_plan.rst +++ b/test_plans/vhost_event_idx_interrupt_test_plan.rst @@ -42,21 +42,6 @@ from virtio-net to vhost side,check vhost-user cores can be wakeup status,an vhost-user cores should be sleep status after stop sending packets from virtio side.For packed virtqueue test, need using qemu version > 4.2.0. -Prerequisites -============= - -Modify l3fwd-power example code and recompile:: - - --- a/examples/l3fwd-power/main.c - +++ b/examples/l3fwd-power/main.c - @@ -248,7 +248,6 @@ static struct rte_eth_conf port_conf = { - .mq_mode = ETH_MQ_RX_RSS, - .max_rx_pkt_len = RTE_ETHER_MAX_LEN, - .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, - }, - .rx_adv_conf = { - .rss_conf = { Test flow ========= From patchwork Tue Nov 16 14:51:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104367 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 ABE40A0C43; Tue, 16 Nov 2021 07:50:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6D97410E9; Tue, 16 Nov 2021 07:50:19 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id EF6AD40DF5 for ; Tue, 16 Nov 2021 07:50:17 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843025" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843025" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:17 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948411" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:15 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 2/7] tests/vhost_event_idx_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:25 +0000 Message-Id: <20211116145130.113807-3-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete modify l3fwd-power example code. Signed-off-by: Lingli Chen --- tests/TestSuite_vhost_event_idx_interrupt.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py index 4e318b6b..482d8c19 100644 --- a/tests/TestSuite_vhost_event_idx_interrupt.py +++ b/tests/TestSuite_vhost_event_idx_interrupt.py @@ -84,9 +84,6 @@ class TestVhostEventIdxInterrupt(TestCase): self.core_list_l3fwd = self.dut.get_core_list(self.core_config) def prepare_l3fwd_power(self): - self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#") - self.dut.send_expect( - "sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10) out = self.dut.build_dpdk_apps("examples/l3fwd-power") self.verify("Error" not in out, "compilation l3fwd-power error") @@ -490,5 +487,4 @@ class TestVhostEventIdxInterrupt(TestCase): """ Run after each test suite. """ - self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#") - self.dut.build_dpdk_apps('examples/l3fwd-power') + pass From patchwork Tue Nov 16 14:51:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104368 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 CCCE2A0C45; Tue, 16 Nov 2021 07:50:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C76BF410FD; Tue, 16 Nov 2021 07:50:21 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id D282E410FD for ; Tue, 16 Nov 2021 07:50:19 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843030" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843030" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:19 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948432" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:17 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 3/7] test_plans/vhost_virtio_pmd_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:26 +0000 Message-Id: <20211116145130.113807-4-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete modify l3fwd-power example code. Signed-off-by: Lingli Chen --- .../vhost_virtio_pmd_interrupt_test_plan.rst | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst index a86b139a..5c4fbf94 100644 --- a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst +++ b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst @@ -43,22 +43,6 @@ Prerequisites ============= Test ENV preparation: Kernel version > 4.8.0, mostly linux distribution don't support vfio-noiommu mode by default, so testing this case need rebuild kernel to enable vfio-noiommu. -Also need modify l3fwd-power example code and recompile:: - - --- a/examples/l3fwd-power/main.c - +++ b/examples/l3fwd-power/main.c - @@ -245,10 +245,9 @@ uint16_t nb_lcore_params = RTE_DIM(lcore_params_array_default); - - static struct rte_eth_conf port_conf = { - .rxmode = { - - .mq_mode = ETH_MQ_RX_RSS, - + .mq_mode = ETH_MQ_RX_NONE, - .max_rx_pkt_len = RTE_ETHER_MAX_LEN, - .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, - }, - .rx_adv_conf = { - .rss_conf = { Test flow ========= From patchwork Tue Nov 16 14:51:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104369 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 EF832A0C43; Tue, 16 Nov 2021 07:50:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAAF741141; Tue, 16 Nov 2021 07:50:22 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id E51D04113C for ; Tue, 16 Nov 2021 07:50:21 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843036" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843036" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:21 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948469" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:19 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 4/7] tests/vhost_virtio_pmd_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:27 +0000 Message-Id: <20211116145130.113807-5-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete modify l3fwd-power example code. Signed-off-by: Lingli Chen Acked-by: Yinan Wang --- tests/TestSuite_vhost_virtio_pmd_interrupt.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py index f421a095..504266f8 100644 --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py @@ -98,10 +98,6 @@ class TestVhostVirtioPmdInterrupt(TestCase): """ rebuild l3fwd-power in vm and set the virtio-net driver """ - self.vm_dut.send_expect("cp ./examples/l3fwd-power/main.c /tmp/", "#") - self.vm_dut.send_expect("sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10) - self.vm_dut.send_expect( - "sed -i 's/.mq_mode = ETH_MQ_RX_RSS,/.mq_mode = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10) out = self.vm_dut.build_dpdk_apps('examples/l3fwd-power') self.verify("Error" not in out, "compilation l3fwd-power error") self.vm_dut.send_expect("modprobe vfio enable_unsafe_noiommu_mode=1", "#") From patchwork Tue Nov 16 14:51:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104370 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 1DC30A0C43; Tue, 16 Nov 2021 07:50:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19116407FF; Tue, 16 Nov 2021 07:50:25 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id E8DB640040 for ; Tue, 16 Nov 2021 07:50:23 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843041" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843041" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:23 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948495" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:21 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 5/7] test_plans/vhost_virtio_user_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:28 +0000 Message-Id: <20211116145130.113807-6-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete Prerequisites Signed-off-by: Lingli Chen --- .../vhost_virtio_user_interrupt_test_plan.rst | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/test_plans/vhost_virtio_user_interrupt_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_test_plan.rst index 2ac6a385..e70ec91f 100644 --- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst +++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst @@ -39,26 +39,6 @@ to virtio side, check virtio-user cores can be wakeup status, and virtio-user co status after stop sending packets from traffic generator.This test plan cover both vhost-net and vhost-user as the backend. -Prerequisites -============= - -Modify l3fwd-power example code and recompile:: - - --- a/examples/l3fwd-power/main.c - +++ b/examples/l3fwd-power/main.c - @@ -245,10 +245,9 @@ uint16_t nb_lcore_params = RTE_DIM(lcore_params_array_default); - - static struct rte_eth_conf port_conf = { - .rxmode = { - - .mq_mode = ETH_MQ_RX_RSS, - + .mq_mode = ETH_MQ_RX_NONE, - .max_rx_pkt_len = RTE_ETHER_MAX_LEN, - .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, - }, - .rx_adv_conf = { - .rss_conf = { - Test Case1: Split ring virtio-user interrupt test with vhost-user as backend ============================================================================ From patchwork Tue Nov 16 14:51:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104371 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 3AE2AA0C43; Tue, 16 Nov 2021 07:50:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35A2B410FC; Tue, 16 Nov 2021 07:50:27 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id DC92640040 for ; Tue, 16 Nov 2021 07:50:25 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843048" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843048" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:25 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948517" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:23 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 6/7] tests/vhost_virtio_user_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:29 +0000 Message-Id: <20211116145130.113807-7-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete modify l3fwd-power example code Signed-off-by: Lingli Chen Acked-by: Yinan Wang --- tests/TestSuite_vhost_virtio_user_interrupt.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py index 89ff9800..4385681b 100644 --- a/tests/TestSuite_vhost_virtio_user_interrupt.py +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py @@ -88,11 +88,6 @@ class TestVirtioUserInterrupt(TestCase): self.dut.close_session(self.l3fwd) def prepare_l3fwd_power(self): - self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#") - self.dut.send_expect( - "sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10) - self.dut.send_expect( - "sed -i 's/.mq_mode = ETH_MQ_RX_RSS,/.mq_mode = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10) out = self.dut.build_dpdk_apps("./examples/l3fwd-power") self.verify("Error" not in out, "compilation l3fwd-power error") @@ -394,5 +389,4 @@ class TestVirtioUserInterrupt(TestCase): """ run after each test suite. """ - self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#") - self.dut.build_dpdk_apps('examples/l3fwd-power') + pass From patchwork Tue Nov 16 14:51:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104372 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 5CA9FA0C43; Tue, 16 Nov 2021 07:50:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 579414113C; Tue, 16 Nov 2021 07:50:29 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id AB58940040 for ; Tue, 16 Nov 2021 07:50:27 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843052" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843052" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:27 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948546" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:25 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 7/7] tests/vhost_user_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:30 +0000 Message-Id: <20211116145130.113807-8-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> 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 Delete modify l3fwd-power example code. Signed-off-by: Lingli Chen Tested-by: Lingli Chen Acked-by: Yinan Wang --- tests/TestSuite_vhost_user_interrupt.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py index f71a2467..c0d1b4f2 100644 --- a/tests/TestSuite_vhost_user_interrupt.py +++ b/tests/TestSuite_vhost_user_interrupt.py @@ -78,9 +78,6 @@ class TestVhostUserInterrupt(TestCase): self.virtio_user = self.dut.new_session(suite="virtio-user") def prepare_l3fwd_power(self): - self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#") - self.dut.send_expect( - "sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#") out = self.dut.build_dpdk_apps('examples/l3fwd-power') self.verify("Error" not in out, "compilation l3fwd-power error") @@ -304,6 +301,4 @@ class TestVhostUserInterrupt(TestCase): """ Run after each test suite. """ - # revert the code - self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#") - self.dut.build_dpdk_apps('examples/l3fwd-power') + pass