[dts] [dts 1/2][PATCH V1] set dpdk log level to debug level

Liu, Yong yong.liu at intel.com
Thu Aug 18 09:31:58 CEST 2016


Huilong,
Please move the configuration file change into core_mask suite.
We'd better not change any code in dpdk, DTS should validate default dpdk code. 
If some suites require special setting, it should be included in the test suite.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,huilong
> Sent: Thursday, August 18, 2016 10:32 AM
> To: dts at dpdk.org
> Cc: Xu, HuilongX
> Subject: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level
> 
> Signed-off-by: xu,huilong <huilongx.xu 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 4e44793..6ea8fb4 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -133,6 +133,8 @@ class DPDKdut(Dut):
>          Set default RX/TX PMD function, now only take effect on ixgbe.
>          """
>          [arch, machine, env, toolchain] = self.target.split('-')
> +        self.send_expect("sed -i -e 's/CONFIG_RTE_LOG_LEVEL=.*$/"
> +                          + "CONFIG_RTE_LOG_LEVEL=RTE_LOG_DEBUG/'
> config/common_base", "# ", 30)
>          if dts.rx_mode is None:
>              mode = 'default'
>          else:
> --
> 1.9.3
> 



More information about the dts mailing list