From: xuhailin <hailinx.xu@intel.com>
To: dts@dpdk.org
Cc: xuhailin <hailinx.xu@intel.com>
Subject: [dts] [PATCH v1]test_plans/iavf:modify the sed command according to dpdk code
Date: Mon, 23 Mar 2020 11:17:58 +0800 [thread overview]
Message-ID: <1584933478-103276-1-git-send-email-hailinx.xu@intel.com> (raw)
modify the sed command according to dpdk code.
Signed-off-by: xuhailin <hailinx.xu@intel.com>
---
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
next reply other threads:[~2020-03-23 3:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-23 3:17 xuhailin [this message]
2020-03-23 3:27 ` Xu, HailinX
2020-03-24 6:51 ` Tu, Lijuan
-- strict thread matches above, loose matches on Subject: below --
2020-03-17 6:13 [dts] [PATCH v1]test_plans/iavf: modify " xuhailin
2020-03-17 6:29 ` Xu, HailinX
2020-03-20 8:07 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584933478-103276-1-git-send-email-hailinx.xu@intel.com \
--to=hailinx.xu@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).