test suite reviews and discussions
 help / color / 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox