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 DF070A0563; Tue, 17 Mar 2020 07:29:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9ADEF1C025; Tue, 17 Mar 2020 07:29:41 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id CAD07292D for ; Tue, 17 Mar 2020 07:29:38 +0100 (CET) IronPort-SDR: qXday/rZX24d9UugywcBn0l/6N4lxmyAUN93i+7/HlIvNnGbm5NQzdjwkn7qjG42jEScAzQLqT VOClPWyB4+AA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 23:29:36 -0700 IronPort-SDR: uQzPcR2lPu7831eKToM0xXjiv7NTex7Z7/EiarqGYpibeXeCdik81U+onhketN/3uWQFRdF9V1 zY5gc5gxXxEA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,563,1574150400"; d="scan'208";a="290909937" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 16 Mar 2020 23:29:36 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Mar 2020 23:29:36 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.206]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.145]) with mapi id 14.03.0439.000; Tue, 17 Mar 2020 14:29:34 +0800 From: "Xu, HailinX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH v1]test_plans/iavf: modify the sed command according to dpdk code Thread-Index: AQHV/CLFf3RniIy1c0q7gn3NSWAcw6hMUW3Q Date: Tue, 17 Mar 2020 06:29:33 +0000 Message-ID: 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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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" Tested-by: Xu, Hailin Regards, Xu, Hailin -----Original Message----- From: Xu, HailinX=20 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 according t= o dpdk code From: "xu,hailin" modify the sed command according to dpdk code. Signed-off-by: xu,hailin --- test_plans/iavf_test_plan.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst = 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 NIC:= : =20 - sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_V= F) }, \ - /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,=20 + IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID,=20 + 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/i= 40e_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 NIC = in VM:: =20 - sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_V= F) }, \ - /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,=20 + IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID,=20 + 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/i= 40e_devids.h =20 make install RTE_SDK=3D`pwd` T=3Dx86_64-native-linuxapp-gcc -- 1.8.3.1