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 C6399A0C4C; Mon, 22 Nov 2021 16:26:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91B644014E; Mon, 22 Nov 2021 16:26:51 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id ADE0F4003C for ; Mon, 22 Nov 2021 16:26:49 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10175"; a="232290536" X-IronPort-AV: E=Sophos;i="5.87,255,1631602800"; d="scan'208";a="232290536" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2021 07:26:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,255,1631602800"; d="scan'208";a="537906583" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga001.jf.intel.com with ESMTP; 22 Nov 2021 07:26:48 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 22 Nov 2021 07:26:47 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 22 Nov 2021 23:26:45 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Mon, 22 Nov 2021 23:26:45 +0800 From: "Tu, Lijuan" To: "Yang, LeweiX" , "dts@dpdk.org" CC: "Yang, LeweiX" Subject: RE: [dts] [PATCH V1] tests/userspace_ethtool:rename ETH to RTE_ETH Thread-Topic: [dts] [PATCH V1] tests/userspace_ethtool:rename ETH to RTE_ETH Thread-Index: AQHXzu1n5/t3x7J2V0OKTtPugSp8NKwPzJFA Date: Mon, 22 Nov 2021 15:26:45 +0000 Message-ID: <11c64c26058b4322ae2c02ebcab87ace@intel.com> References: <20211101152338.22226-1-leweix.yang@intel.com> In-Reply-To: <20211101152338.22226-1-leweix.yang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable 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 > -----Original Message----- > From: dts On Behalf Of Lewei Yang > Sent: 2021=1B$BG/=1B(B11=1B$B7n=1B(B1=1B$BF|=1B(B 23:24 > To: dts@dpdk.org > Cc: Yang, LeweiX > Subject: [dts] [PATCH V1] tests/userspace_ethtool:rename ETH to RTE_ETH >=20 > From: YangLewei >=20 > According to dpdk commit 295968d17407("ethdev: add namespace"), rename > ETH to RTE_ETH >=20 > 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(-) >=20 > 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 >=20 > enable vlan filter flag in main.c of dpdk's ethtool:: >=20 > - sed -i -e '/cfg_port.txmode.mq_mode =3D > ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=3DDEV_RX_OFFLOAD_VLAN > _FILTER;' examples/ethtool/ethtool-app/main.c > + sed -i -e '/cfg_port.txmode.mq_mode =3D > + > RTE_ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=3DDEV_RX_OFFLOAD_ > VLAN_ > + FILTER;' examples/ethtool/ethtool-app/main.c >=20 > re-compile examples/ethtool:: >=20 > 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 =3D "examples/ethtool/ethtool-app/main.c" > # enable vlan filter > - self.dut.send_expect("sed -i -e '/cfg_port.txmode.mq_mode =3D > ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=3DDEV_RX_OFFLOAD_VLAN > _FILTER;' %s" % main_file, "# ") > + self.dut.send_expect("sed -i -e '/cfg_port.txmode.mq_mode =3D > + > RTE_ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=3DDEV_RX_OFFLOAD_ > VLAN_ > + FILTER;' %s" % main_file, "# ") Can we test the point and don't modify DPDK. >=20 > # build sample app > self.build_ethtool() > -- > 2.33.1