From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Transfer-Encoding: 8bit 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") -- 2.33.1