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 7C633A0C52; Mon, 1 Nov 2021 07:54:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F9ED40E28; Mon, 1 Nov 2021 07:54:53 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E0F4240DF6 for ; Mon, 1 Nov 2021 07:54:51 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="254561509" X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208";a="254561509" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2021 23:54:32 -0700 X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208";a="499920704" Received: from unknown (HELO localhost.localdomain) ([10.240.183.102]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2021 23:54:31 -0700 From: Lewei Yang To: dts@dpdk.org Cc: YangLewei Date: Mon, 1 Nov 2021 15:23:38 +0000 Message-Id: <20211101152338.22226-1-leweix.yang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/userspace_ethtool:rename ETH 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" From: YangLewei According to dpdk commit 295968d17407("ethdev: add namespace"), rename ETH to RTE_ETH Signed-off-by: YangLewei --- test_plans/userspace_ethtool_test_plan.rst | 2 +- tests/TestSuite_userspace_ethtool.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/userspace_ethtool_test_plan.rst b/test_plans/userspace_ethtool_test_plan.rst index ca86beaf..9dca4b49 100644 --- a/test_plans/userspace_ethtool_test_plan.rst +++ b/test_plans/userspace_ethtool_test_plan.rst @@ -164,7 +164,7 @@ Test Case: Vlan test enable vlan filter flag in main.c of dpdk's ethtool:: - sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' examples/ethtool/ethtool-app/main.c + sed -i -e '/cfg_port.txmode.mq_mode = RTE_ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' examples/ethtool/ethtool-app/main.c re-compile examples/ethtool:: diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index 4536b7d1..8fae4f2c 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -449,7 +449,7 @@ class TestUserspaceEthtool(TestCase): """ main_file = "examples/ethtool/ethtool-app/main.c" # enable vlan filter - self.dut.send_expect("sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' %s" % main_file, "# ") + self.dut.send_expect("sed -i -e '/cfg_port.txmode.mq_mode = RTE_ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' %s" % main_file, "# ") # build sample app self.build_ethtool() -- 2.33.1