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 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 Content-Transfer-Encoding: 8bit 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", "#") -- 2.33.1