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 8A8C9A0563; Mon, 23 Mar 2020 04:27:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 425EA1BF71; Mon, 23 Mar 2020 04:27:53 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7D983F94 for ; Mon, 23 Mar 2020 04:27:51 +0100 (CET) IronPort-SDR: DxhL2ahSj3c5bHWCaV4gEsGYiA8mpVp1cuSIFNESdynKQd+d+8EPYysPo+Yew7IAuyzEaE6a1Q ayYq4iGTpIbw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2020 20:27:50 -0700 IronPort-SDR: uxULpHH0P49f6LvQkaRopsdK7W3ED6Ls31W5ZrCG1CQtNO2SZGFXo+ILWWKv57Yn6uY7u/Alkl zbBkT70w48KQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,295,1580803200"; d="scan'208";a="235096153" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 22 Mar 2020 20:27:50 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 22 Mar 2020 20:27:36 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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.1713.5; Sun, 22 Mar 2020 20:27:36 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 22 Mar 2020 20:27:36 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.206]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.86]) with mapi id 14.03.0439.000; Mon, 23 Mar 2020 11:27: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: AQHWAMIXgtjf9gKROkSvQKgDLFNZyKhVhHCw Date: Mon, 23 Mar 2020 03:27:34 +0000 Message-ID: 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: 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: 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 modify the sed command according to dpdk code. Signed-off-by: xuhailin --- test_plans/iavf_test_plan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst = 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 NIC:= : =20 - sed -i -e '/IAVF_DEV_ID_ADAPTIVE_VF/s/0x1889/0x154c/g' drivers/net/iav= f/base/iavf_devids.h + 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 @@ -79,7 += 79,7 @@ Prerequisites =20 5. Modify and build DPDK source code to enable IAVF function for I40E NIC = in VM:: =20 - sed -i -e '/IAVF_DEV_ID_ADAPTIVE_VF/s/0x1889/0x154c/g' drivers/net/iav= f/base/iavf_devids.h + 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 -- 2.17.2