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 A476CA0563; Mon, 23 Mar 2020 04:20:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 74CE91BF6D; Mon, 23 Mar 2020 04:20:58 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0D1281BEE2 for ; Mon, 23 Mar 2020 04:20:56 +0100 (CET) IronPort-SDR: 7cc5JYINIOLlQBaTrLh2u7pCaWHv5vmmcUgPcBzXTYpaNtx+ztdADltmGqIDnMFv0kGfXgyaNF gHGARKF7CW3w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2020 20:20:56 -0700 IronPort-SDR: 8ps/NhUQPdIgZUuRLmCdGyPx6F5eOvODAeFI03aZisXq+PKu1cjtpxify6jvelZ4dLr+uF64FY bQQurj11scaw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,295,1580803200"; d="scan'208";a="264645531" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 22 Mar 2020 20:20:55 -0700 From: xuhailin To: dts@dpdk.org Cc: xuhailin Date: Mon, 23 Mar 2020 11:17:58 +0800 Message-Id: <1584933478-103276-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" 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 ======================= 1. Modify and build DPDK source code to enable IAVF function for I40E NIC:: - 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 make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc @@ -79,7 +79,7 @@ Prerequisites 5. Modify and build DPDK source code to enable IAVF function for I40E NIC in VM:: - 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 make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc -- 2.17.2