[dts] [PATCH V1] framework/project_dpdk: set the RTE_EAL_IGB_UIO to y by default

Tu, Lijuan lijuan.tu at intel.com
Tue Jan 21 03:07:39 CET 2020


applied

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Tuesday, January 21, 2020 2:23 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts] [PATCH V1] framework/project_dpdk: set the
> RTE_EAL_IGB_UIO to y by default
> 
> from dpdk-20.02-rc1, disable all kmods by default, but our dts will use it, so
> re-enable it on framework.
> 
> Signed-off-by: lihong <lihongx.ma at intel.com>
> ---
>  framework/project_dpdk.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index
> 7030abb..6cc0e67 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -213,6 +213,8 @@ class DPDKdut(Dut):
>          if use_shared_lib == 'true' and 'Virt' not in str(self):
>              self.send_expect("sed -i
> 's/CONFIG_RTE_BUILD_SHARED_LIB=n/CONFIG_RTE_BUILD_SHARED_LIB=y/g
> ' "
>                               "config/common_base", '#')
> +        self.send_expect("sed -i
> 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' "
> +                        "config/common_base", '#')
>          build_install_dpdk = getattr(self, 'build_install_dpdk_%s' %
> self.get_os_type())
>          build_install_dpdk(target, extra_options)
> 
> --
> 2.7.4



More information about the dts mailing list