test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v1]test_plans/iavf:modify the sed command according to dpdk code
@ 2020-03-23  3:17 xuhailin
  2020-03-23  3:27 ` Xu, HailinX
  2020-03-24  6:51 ` Tu, Lijuan
  0 siblings, 2 replies; 6+ messages in thread
From: xuhailin @ 2020-03-23  3:17 UTC (permalink / raw)
  To: dts; +Cc: xuhailin

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


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [dts] [PATCH v1]test_plans/iavf: modify the sed command according to dpdk code
@ 2020-03-17  6:13 xuhailin
  2020-03-17  6:29 ` Xu, HailinX
  2020-03-20  8:07 ` Tu, Lijuan
  0 siblings, 2 replies; 6+ messages in thread
From: xuhailin @ 2020-03-17  6:13 UTC (permalink / raw)
  To: dts; +Cc: xu,hailin

From: "xu,hailin" <hailinx.xu@intel.com>

modify the sed command according to dpdk code.

Signed-off-by: xu,hailin <hailinx.xu@intel.com>
---
 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-24  6:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23  3:17 [dts] [PATCH v1]test_plans/iavf:modify the sed command according to dpdk code xuhailin
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

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).