[dts] [PATCH v1]test_plans/iavf: modify the sed command according to dpdk code

Tu, Lijuan lijuan.tu at intel.com
Fri Mar 20 09:07:27 CET 2020


Applied failed, please rework

Applying: test_plans/iavf: modify the sed command according to dpdk code
error: patch failed: test_plans/iavf_test_plan.rst:45
error: test_plans/iavf_test_plan.rst: patch does not apply
Patch failed at 0001 test_plans/iavf: modify the sed command according to dpdk code

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xuhailin
> Sent: Tuesday, March 17, 2020 2:14 PM
> To: dts at dpdk.org
> Cc: Xu, HailinX <hailinx.xu at intel.com>
> Subject: [dts] [PATCH v1]test_plans/iavf: modify the sed command according
> to dpdk code
> 
> From: "xu,hailin" <hailinx.xu at intel.com>
> 
> modify the sed command according to dpdk code.
> 
> Signed-off-by: xu,hailin <hailinx.xu at 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



More information about the dts mailing list