From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 11A4EA0564; Tue, 24 Mar 2020 07:52:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 079F51C0AD; Tue, 24 Mar 2020 07:52:01 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 453201C0AD for ; Tue, 24 Mar 2020 07:51:59 +0100 (CET) IronPort-SDR: KtV/rkiWaRiRLDPq5uJNLt+bCaUauLjNDK3WSXUO8Wymd6ugiRYeRRid8JUeB0Q7F4GQaR4Tl1 TyZU8ULEHHJw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2020 23:51:58 -0700 IronPort-SDR: rPQtx+K7EaiTcEsPqpGlQRm65ym0xGrqX1cfjQyKkImLJe5vjZqXTARE81290cRZKfI1OXcmtx YFJWhCtlTKfw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,299,1580803200"; d="scan'208";a="357329757" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 23 Mar 2020 23:51:58 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 23 Mar 2020 23:51:57 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 23 Mar 2020 23:51:57 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.155]) with mapi id 14.03.0439.000; Tue, 24 Mar 2020 14:51:55 +0800 From: "Tu, Lijuan" To: "Xu, HailinX" , "dts@dpdk.org" CC: "Xu, HailinX" Thread-Topic: [dts] [PATCH v1]test_plans/iavf:modify the sed command according to dpdk code Thread-Index: AQHWAMInnuBueTYLNEyz/C1OCUG0qahXT+Dg Date: Tue, 24 Mar 2020 06:51:54 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBF0A64@SHSMSX101.ccr.corp.intel.com> References: <1584933478-103276-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1584933478-103276-1-git-send-email-hailinx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v1]test_plans/iavf:modify the sed command according to dpdk code X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xuhailin > Sent: Monday, March 23, 2020 11:18 AM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v1]test_plans/iavf:modify the sed command according > to dpdk code >=20 > modify the sed command according to dpdk code. >=20 > Signed-off-by: xuhailin > --- > test_plans/iavf_test_plan.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rs= t index > dcb6e8f..b760a63 100644 > --- a/test_plans/iavf_test_plan.rst > +++ b/test_plans/iavf_test_plan.rst > @@ -45,7 +45,7 @@ Prerequisites > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 1. Modify and build DPDK source code to enable IAVF function for I40E NI= C:: >=20 > - sed -i -e '/IAVF_DEV_ID_ADAPTIVE_VF/s/0x1889/0x154c/g' > drivers/net/iavf/base/iavf_devids.h > + sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, > + IAVF_DEV_ID_ADAPTIVE_VF) },/a > { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, > + IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c > sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g' > drivers/net/i40e/base/i40e_devids.h >=20 > make install RTE_SDK=3D`pwd` T=3Dx86_64-native-linuxapp-gcc @@ -79,7 > +79,7 @@ Prerequisites >=20 > 5. Modify and build DPDK source code to enable IAVF function for I40E NI= C > in VM:: >=20 > - sed -i -e '/IAVF_DEV_ID_ADAPTIVE_VF/s/0x1889/0x154c/g' > drivers/net/iavf/base/iavf_devids.h > + sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, > + IAVF_DEV_ID_ADAPTIVE_VF) },/a > { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, > + IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c > sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g' > drivers/net/i40e/base/i40e_devids.h >=20 > make install RTE_SDK=3D`pwd` T=3Dx86_64-native-linuxapp-gcc > -- > 2.17.2