From patchwork Mon Nov 8 16:28:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103928 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 91D43A0C4B; Mon, 8 Nov 2021 09:27:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89B2E410F4; Mon, 8 Nov 2021 09:27:12 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 8593440DF7 for ; Mon, 8 Nov 2021 09:27:11 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627945" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627945" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:07 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129046" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:05 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:43 +0000 Message-Id: <20211108162854.96466-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 01/12] test_plans/dpdk_gro_lib: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- test_plans/dpdk_gro_lib_test_plan.rst | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst index bdbcdf62..658a15cb 100644 --- a/test_plans/dpdk_gro_lib_test_plan.rst +++ b/test_plans/dpdk_gro_lib_test_plan.rst @@ -96,19 +96,19 @@ Modify the dpdk code as following:: @@ -1071,8 +1071,14 @@ eth_dev_info(struct rte_eth_dev *dev, dev_info->min_rx_bufsize = 0; - dev_info->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS | - - DEV_TX_OFFLOAD_VLAN_INSERT; - - dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP; - + DEV_TX_OFFLOAD_VLAN_INSERT | - + DEV_TX_OFFLOAD_UDP_CKSUM | - + DEV_TX_OFFLOAD_TCP_CKSUM | - + DEV_TX_OFFLOAD_IPV4_CKSUM | - + DEV_TX_OFFLOAD_TCP_TSO; - + dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP | - + DEV_RX_OFFLOAD_TCP_CKSUM | - + DEV_RX_OFFLOAD_UDP_CKSUM | - + DEV_RX_OFFLOAD_IPV4_CKSUM | - + DEV_RX_OFFLOAD_TCP_LRO; + dev_info->tx_offload_capa = RTE_ETH_TX_OFFLOAD_MULTI_SEGS | + - RTE_ETH_TX_OFFLOAD_VLAN_INSERT; + - dev_info->rx_offload_capa = RTE_ETH_RX_OFFLOAD_VLAN_STRIP; + + RTE_ETH_TX_OFFLOAD_VLAN_INSERT | + + RTE_ETH_TX_OFFLOAD_UDP_CKSUM | + + RTE_ETH_TX_OFFLOAD_TCP_CKSUM | + + RTE_ETH_TX_OFFLOAD_IPV4_CKSUM | + + RTE_ETH_TX_OFFLOAD_TCP_TSO; + + dev_info->rx_offload_capa = RTE_ETH_RX_OFFLOAD_VLAN_STRIP | + + RTE_ETH_RX_OFFLOAD_TCP_CKSUM | + + RTE_ETH_RX_OFFLOAD_UDP_CKSUM | + + RTE_ETH_RX_OFFLOAD_IPV4_CKSUM | + + RTE_ETH_RX_OFFLOAD_TCP_LRO; } Test flow From patchwork Mon Nov 8 16:28:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103929 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 AFB7BA0C4B; Mon, 8 Nov 2021 09:27:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7743410E8; Mon, 8 Nov 2021 09:27:13 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 2E41F40DF7 for ; Mon, 8 Nov 2021 09:27:12 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627951" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627951" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:08 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129063" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:07 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:44 +0000 Message-Id: <20211108162854.96466-3-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 02/12] tests/dpdk_gro_lib: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- tests/TestSuite_dpdk_gro_lib.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py index 08ce9f8a..e893a5af 100644 --- a/tests/TestSuite_dpdk_gro_lib.py +++ b/tests/TestSuite_dpdk_gro_lib.py @@ -238,18 +238,18 @@ class TestDPDKGROLib(TestCase): self.dut.send_expect("sed -i '/ether_addr_copy(&peer_eth/i\#if 0' ./app/test-pmd/csumonly.c", "#") self.dut.send_expect("sed -i '/parse_ethernet(eth_hdr, &info/i\#endif' ./app/test-pmd/csumonly.c", "#") # change offload of vhost - tx_offload = 'DEV_TX_OFFLOAD_VLAN_INSERT | ' + \ - 'DEV_TX_OFFLOAD_UDP_CKSUM | ' + \ - 'DEV_TX_OFFLOAD_TCP_CKSUM | ' + \ - 'DEV_TX_OFFLOAD_IPV4_CKSUM | ' + \ - 'DEV_TX_OFFLOAD_TCP_TSO;' - rx_offload = 'DEV_RX_OFFLOAD_VLAN_STRIP | ' + \ - 'DEV_RX_OFFLOAD_TCP_CKSUM | ' + \ - 'DEV_RX_OFFLOAD_UDP_CKSUM | ' + \ - 'DEV_RX_OFFLOAD_IPV4_CKSUM | ' + \ - 'DEV_RX_OFFLOAD_TCP_LRO;' - self.dut.send_expect("sed -i 's/DEV_TX_OFFLOAD_VLAN_INSERT;/%s/' drivers/net/vhost/rte_eth_vhost.c" % tx_offload, "#") - self.dut.send_expect("sed -i 's/DEV_RX_OFFLOAD_VLAN_STRIP;/%s/' drivers/net/vhost/rte_eth_vhost.c" % rx_offload, "#") + tx_offload = 'RTE_ETH_TX_OFFLOAD_VLAN_INSERT | ' + \ + 'RTE_ETH_TX_OFFLOAD_UDP_CKSUM | ' + \ + 'RTE_ETH_TX_OFFLOAD_TCP_CKSUM | ' + \ + 'RTE_ETH_TX_OFFLOAD_IPV4_CKSUM | ' + \ + 'RTE_ETH_TX_OFFLOAD_TCP_TSO;' + rx_offload = 'RTE_ETH_RX_OFFLOAD_VLAN_STRIP | ' + \ + 'RTE_ETH_RX_OFFLOAD_TCP_CKSUM | ' + \ + 'RTE_ETH_RX_OFFLOAD_UDP_CKSUM | ' + \ + 'RTE_ETH_RX_OFFLOAD_IPV4_CKSUM | ' + \ + 'RTE_ETH_RX_OFFLOAD_TCP_LRO;' + self.dut.send_expect("sed -i 's/RTE_ETH_TX_OFFLOAD_VLAN_INSERT;/%s/' drivers/net/vhost/rte_eth_vhost.c" % tx_offload, "#") + self.dut.send_expect("sed -i 's/RTE_ETH_RX_OFFLOAD_VLAN_STRIP;/%s/' drivers/net/vhost/rte_eth_vhost.c" % rx_offload, "#") self.dut.build_install_dpdk(self.dut.target) def unprepare_dpdk(self): From patchwork Mon Nov 8 16:28:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103930 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 01216A0C4C; Mon, 8 Nov 2021 09:27:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D07F84111E; Mon, 8 Nov 2021 09:27:13 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 85C16410E8 for ; Mon, 8 Nov 2021 09:27:12 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627965" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627965" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:12 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129074" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:08 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:45 +0000 Message-Id: <20211108162854.96466-4-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 03/12] test_plans/vdev_primary_secondary: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- test_plans/vdev_primary_secondary_test_plan.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst index a148fcbe..06e5e3a9 100644 --- a/test_plans/vdev_primary_secondary_test_plan.rst +++ b/test_plans/vdev_primary_secondary_test_plan.rst @@ -61,11 +61,10 @@ Also need modify l3fwd-power example code and recompile:: 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, + - .mq_mode = RTE_ETH_MQ_RX_RSS, + + .mq_mode = RTE_ETH_MQ_RX_NONE, .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, + - .offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM, }, .rx_adv_conf = { .rss_conf = { From patchwork Mon Nov 8 16:28:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103931 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 008F6A0C4B; Mon, 8 Nov 2021 09:27:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF8BC41100; Mon, 8 Nov 2021 09:27:15 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 3F55040DF7 for ; Mon, 8 Nov 2021 09:27:14 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627973" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627973" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:13 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129104" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:12 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:46 +0000 Message-Id: <20211108162854.96466-5-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 04/12] tests/vdev_primary_secondary: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- tests/TestSuite_vdev_primary_secondary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vdev_primary_secondary.py b/tests/TestSuite_vdev_primary_secondary.py index 093cd57c..9e865601 100644 --- a/tests/TestSuite_vdev_primary_secondary.py +++ b/tests/TestSuite_vdev_primary_secondary.py @@ -132,9 +132,9 @@ class TestVdevPrimarySecondary(TestCase): def prepare_symmetric_mp(self): self.vm_dut.send_expect("cp ./examples/multi_process/symmetric_mp/main.c .", "#") self.vm_dut.send_expect( - "sed -i '/.offloads = DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c", "#") + "sed -i '/.offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c", "#") self.vm_dut.send_expect( - "sed -i 's/ETH_MQ_RX_RSS,/ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#") + "sed -i 's/RTE_ETH_MQ_RX_RSS,/RTE_ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#") out = self.vm_dut.build_dpdk_apps('./examples/multi_process/symmetric_mp') self.verify("Error" not in out, "compilation symmetric_mp error") From patchwork Mon Nov 8 16:28:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103932 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 2AFC0A0C4C; Mon, 8 Nov 2021 09:27:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DF9A41122; Mon, 8 Nov 2021 09:27:17 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 409D040DF7 for ; Mon, 8 Nov 2021 09:27:15 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627981" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627981" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:14 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129131" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:13 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:47 +0000 Message-Id: <20211108162854.96466-6-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 05/12] test_plans/vhost_event_idx_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- test_plans/vhost_event_idx_interrupt_test_plan.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 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..67888794 100644 --- a/test_plans/vhost_event_idx_interrupt_test_plan.rst +++ b/test_plans/vhost_event_idx_interrupt_test_plan.rst @@ -50,10 +50,9 @@ 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, + .mq_mode = RTE_ETH_MQ_RX_RSS, .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, + - .offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM, }, .rx_adv_conf = { .rss_conf = { From patchwork Mon Nov 8 16:28:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103933 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 4E00CA0C4B; Mon, 8 Nov 2021 09:27:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49136410FE; Mon, 8 Nov 2021 09:27:19 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id BAE7F40DF7 for ; Mon, 8 Nov 2021 09:27:16 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627991" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627991" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:16 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129162" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:15 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:48 +0000 Message-Id: <20211108162854.96466-7-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 06/12] tests/vhost_event_idx_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- tests/TestSuite_vhost_event_idx_interrupt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py index 4e318b6b..ed9a2c59 100644 --- a/tests/TestSuite_vhost_event_idx_interrupt.py +++ b/tests/TestSuite_vhost_event_idx_interrupt.py @@ -86,7 +86,7 @@ class TestVhostEventIdxInterrupt(TestCase): 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) + "sed -i '/RTE_ETH_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") From patchwork Mon Nov 8 16:28:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103934 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 6C6BCA0C4C; Mon, 8 Nov 2021 09:27:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6715A41120; Mon, 8 Nov 2021 09:27:20 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 4022840DF7 for ; Mon, 8 Nov 2021 09:27:18 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627996" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627996" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:17 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129191" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:16 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:49 +0000 Message-Id: <20211108162854.96466-8-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 07/12] test_plans/vhost_user_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- test_plans/vhost_user_interrupt_test_plan.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test_plans/vhost_user_interrupt_test_plan.rst b/test_plans/vhost_user_interrupt_test_plan.rst index f8d35297..a70d1602 100644 --- a/test_plans/vhost_user_interrupt_test_plan.rst +++ b/test_plans/vhost_user_interrupt_test_plan.rst @@ -41,6 +41,22 @@ Vhost-user interrupt need test with l3fwd-power sample, small packets send from check vhost-user cores can be wakeup,and vhost-user cores should be back to sleep after stop sending packets from virtio side. +Prerequisites +============= + +Modify l3fwd-power example code and recompile:: + + --- a/examples/l3fwd-power/main.c + +++ b/examples/l3fwd-power/main.c + @@ -251,7 +251,6 @@ static struct rte_eth_conf port_conf = { + .rxmode = { + .mq_mode = RTE_ETH_MQ_RX_RSS, + .split_hdr_size = 0, + - .offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM, + }, + .rx_adv_conf = { + .rss_conf = { + Test flow ========= From patchwork Mon Nov 8 16:28:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103935 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 8E54EA0C4B; Mon, 8 Nov 2021 09:27:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 883DE41124; Mon, 8 Nov 2021 09:27:21 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B7E1240DF7 for ; Mon, 8 Nov 2021 09:27:19 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295627997" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295627997" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:19 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129201" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:18 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:50 +0000 Message-Id: <20211108162854.96466-9-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 08/12] tests/vhost_user_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- tests/TestSuite_vhost_user_interrupt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py index f71a2467..a9a830b3 100644 --- a/tests/TestSuite_vhost_user_interrupt.py +++ b/tests/TestSuite_vhost_user_interrupt.py @@ -80,7 +80,7 @@ class TestVhostUserInterrupt(TestCase): 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", "#") + "sed -i '/RTE_ETH_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") From patchwork Mon Nov 8 16:28:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103936 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 B9EA8A0C4B; Mon, 8 Nov 2021 09:27:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B272741134; Mon, 8 Nov 2021 09:27:22 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 229E140DF7 for ; Mon, 8 Nov 2021 09:27:21 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295628003" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295628003" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:21 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129221" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:19 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:51 +0000 Message-Id: <20211108162854.96466-10-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 09/12] test_plans/vhost_virtio_pmd_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- test_plans/vhost_virtio_pmd_interrupt_test_plan.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 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..d4784ec1 100644 --- a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst +++ b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst @@ -51,11 +51,10 @@ Also need modify l3fwd-power example code and recompile:: 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, + - .mq_mode = RTE_ETH_MQ_RX_RSS, + + .mq_mode = RTE_ETH_MQ_RX_NONE, .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, + - .offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM, }, .rx_adv_conf = { .rss_conf = { From patchwork Mon Nov 8 16:28:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103937 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 DF084A0C4B; Mon, 8 Nov 2021 09:27:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA984410E9; Mon, 8 Nov 2021 09:27:25 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 6BDA640DF7 for ; Mon, 8 Nov 2021 09:27:23 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295628006" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295628006" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:23 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129229" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:21 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:52 +0000 Message-Id: <20211108162854.96466-11-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 10/12] tests/vhost_virtio_pmd_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- tests/TestSuite_vhost_virtio_pmd_interrupt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py index f421a095..7f81f0a8 100644 --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py @@ -99,9 +99,9 @@ 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 '/RTE_ETH_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) + "sed -i 's/.mq_mode = RTE_ETH_MQ_RX_RSS,/.mq_mode = RTE_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 Mon Nov 8 16:28:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103938 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 12495A0C4B; Mon, 8 Nov 2021 09:27:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DBDF4112E; Mon, 8 Nov 2021 09:27:27 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 11DF040DF7 for ; Mon, 8 Nov 2021 09:27:24 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295628010" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295628010" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:24 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129239" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:23 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:53 +0000 Message-Id: <20211108162854.96466-12-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 11/12] test_plans/vhost_virtio_user_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen --- test_plans/vhost_virtio_user_interrupt_test_plan.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 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..3cb2cf22 100644 --- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst +++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst @@ -50,11 +50,10 @@ Modify l3fwd-power example code and recompile:: 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, + - .mq_mode = RTE_ETH_MQ_RX_RSS, + + .mq_mode = RTE_ETH_MQ_RX_NONE, .split_hdr_size = 0, - - .offloads = DEV_RX_OFFLOAD_CHECKSUM, + - .offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM, }, .rx_adv_conf = { .rss_conf = { From patchwork Mon Nov 8 16:28:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 103939 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 36A44A0C4B; Mon, 8 Nov 2021 09:27:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EBCF41123; Mon, 8 Nov 2021 09:27:28 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 0650E40DF7 for ; Mon, 8 Nov 2021 09:27:26 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="295628013" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="295628013" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:26 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="491129255" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:27:24 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Mon, 8 Nov 2021 16:28:54 +0000 Message-Id: <20211108162854.96466-13-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com> References: <20211108162854.96466-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 12/12] tests/vhost_virtio_user_interrupt: DPDK code prefix DEV change to RTE_ETH 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 Sender: "dts" According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH. Signed-off-by: Lingli Chen Tested-by: Lingli Chen --- tests/TestSuite_vhost_virtio_user_interrupt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py index 89ff9800..bb7b249c 100644 --- a/tests/TestSuite_vhost_virtio_user_interrupt.py +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py @@ -90,9 +90,9 @@ class TestVirtioUserInterrupt(TestCase): 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) + "sed -i '/RTE_ETH_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) + "sed -i 's/.mq_mode = RTE_ETH_MQ_RX_RSS,/.mq_mode = RTE_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")