test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] framework/project_dpdk: set the RTE_EAL_IGB_UIO to y by default
@ 2020-01-20 18:22 lihong
  2020-01-21  2:07 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: lihong @ 2020-01-20 18:22 UTC (permalink / raw)
  To: dts; +Cc: lihong

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@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


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

* Re: [dts] [PATCH V1] framework/project_dpdk: set the RTE_EAL_IGB_UIO to y by default
  2020-01-20 18:22 [dts] [PATCH V1] framework/project_dpdk: set the RTE_EAL_IGB_UIO to y by default lihong
@ 2020-01-21  2:07 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-01-21  2:07 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

applied

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Tuesday, January 21, 2020 2:23 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@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@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


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

end of thread, other threads:[~2020-01-21  2:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20 18:22 [dts] [PATCH V1] framework/project_dpdk: set the RTE_EAL_IGB_UIO to y by default lihong
2020-01-21  2: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).