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 CC6E5A0559; Tue, 17 Mar 2020 07:10:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 913B52B9E; Tue, 17 Mar 2020 07:10:18 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id EB3CD3B5 for ; Tue, 17 Mar 2020 07:10:16 +0100 (CET) IronPort-SDR: VIoD0A8iS4KYzGA9R3xRdrLSaxCvkMMpkl3POTA1Rg9vSCdYz3vpxo8QvsPtsFyISN+/bs0uuo TnikIPf8x9ZQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 23:10:15 -0700 IronPort-SDR: e/32iiVZdMOFm+odDUmroavbV0Wt/8RIRFNx+/bDHtVRXKUrL6bFDa0S0vZ/+iyjMIlXMjQz+n vV2OqaIjKTCA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,563,1574150400"; d="scan'208";a="355265322" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 16 Mar 2020 23:10:14 -0700 From: xuhailin To: dts@dpdk.org Cc: "xu,hailin" Date: Tue, 17 Mar 2020 14:13:38 +0800 Message-Id: <1584425618-144062-1-git-send-email-hailinx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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" 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 ======================= 1. Modify and build DPDK source code to enable IAVF function for I40E NIC:: - 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 make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc @@ -80,8 +79,7 @@ Prerequisites 5. Modify and build DPDK source code to enable IAVF function for I40E NIC in VM:: - 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 make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc -- 1.8.3.1