[dts] [PATCH V1]tests/unit_tests_kni: need rte_kni

Tu, Lijuan lijuan.tu at intel.com
Mon Feb 10 09:57:14 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Tuesday, January 21, 2020 4:57 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1]tests/unit_tests_kni: need rte_kni
> 
> *. modify CONFIG_RTE_KNI_KMOD as y in config/common_base
> 
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
> ---
>  tests/TestSuite_unit_tests_kni.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_unit_tests_kni.py
> b/tests/TestSuite_unit_tests_kni.py
> index 4966f4e..ecf412b 100644
> --- a/tests/TestSuite_unit_tests_kni.py
> +++ b/tests/TestSuite_unit_tests_kni.py
> @@ -73,7 +73,9 @@ class TestUnitTestsKni(TestCase):
> 
>          KNI Prerequisites
>          """
> -
> +        self.dut.send_expect("sed -i -e
> 's/KNI_KMOD_ETHTOOL=n$/KNI_KMOD_ETHTOOL=y/'
> config/common_base", "# ", 30)
> +        self.dut.send_expect("sed -i -e
> 's/CONFIG_RTE_KNI_KMOD=n$/CONFIG_RTE_KNI_KMOD=y/'
> config/common_base", "# ", 30)
> +        self.dut.build_install_dpdk(self.target)
>          self.cores = self.dut.get_core_list("all")
>          self.insmod_kni()
> 
> --
> 1.8.3.1



More information about the dts mailing list