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 C23ACA0583; Fri, 20 Mar 2020 09:07:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8B9F2BBE; Fri, 20 Mar 2020 09:07:49 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7CE432BBD for ; Fri, 20 Mar 2020 09:07:48 +0100 (CET) IronPort-SDR: 3WQ3xXjaELa7PNAv0EWqolRqOs6Hp7JeW23c82v75m4vJX3ZdRSsiyRwJKt+tmrgcJuRkA25ak 4fb1goZtDMsQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2020 01:07:47 -0700 IronPort-SDR: AbJkRACBvXZqiM6Q0UeR36m3Zfgu28MhO/lpT9GDhjW4m6budBFuDA2KmJR9QF7JXQ7FsBIRwO 61yqhI/D6HPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,283,1580803200"; d="scan'208";a="238716941" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 20 Mar 2020 01:07:47 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 20 Mar 2020 01:07:31 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 20 Mar 2020 01:07:31 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.201]) with mapi id 14.03.0439.000; Fri, 20 Mar 2020 16:07:28 +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: AQHV/CLH8ugxxktmREWxUBsSH/Z21KhRJL9Q Date: Fri, 20 Mar 2020 08:07:27 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBEFAB6@SHSMSX101.ccr.corp.intel.com> References: <1584425618-144062-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1584425618-144062-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 failed, please rework Applying: test_plans/iavf: modify the sed command according to dpdk code error: patch failed: test_plans/iavf_test_plan.rst:45 error: test_plans/iavf_test_plan.rst: patch does not apply Patch failed at 0001 test_plans/iavf: modify the sed command according to d= pdk code > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xuhailin > Sent: Tuesday, March 17, 2020 2:14 PM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v1]test_plans/iavf: modify the sed command accordin= g > to dpdk code >=20 > From: "xu,hailin" >=20 > modify the sed command according to dpdk code. >=20 > Signed-off-by: xu,hailin > --- > test_plans/iavf_test_plan.rst | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) >=20 > diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rs= t index > 2a21546..cbbcaa5 100644 > --- a/test_plans/iavf_test_plan.rst > +++ b/test_plans/iavf_test_plan.rst > @@ -45,8 +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 '/{ 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 '/{ 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 @@ -80,8 > +79,7 @@ Prerequisites >=20 > 5. Modify and build DPDK source code to enable IAVF function for I40E NI= C > in VM:: >=20 > - 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 '/{ 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 > -- > 1.8.3.1