[dts] [PATCH v1]test_plans/iavf:modify the sed command according to dpdk code
Tu, Lijuan
lijuan.tu at intel.com
Tue Mar 24 07:51:54 CET 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xuhailin
> Sent: Monday, March 23, 2020 11:18 AM
> 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
>
> modify the sed command according to dpdk code.
>
> Signed-off-by: xuhailin <hailinx.xu at 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
More information about the dts
mailing list