[dts] [PATCH] framework: extend dts to run against installed dpdk packages

Liu, Yong yong.liu at intel.com
Mon Oct 16 07:41:21 CEST 2017


Hi Jianbo,
For supporting other distributions like RHEL/FreeBSD/OpenSuse, we will separate dpdk source code verification and default dpdk verification.
For the usage of testpmd application, the first step is that use pmd_output module to handle it.
Next step is add some kind of configurations for sdk and binary path. Currently DTS has supported global suite configuration and global environment setting.
In my mind, this setting should be execution based and only need to be configured in default dpdk verification.

Let us do the first step first and find one way to support all different distributions.

Thanks,
Marvin

> -----Original Message-----
> From: Jianbo Liu [mailto:jianbo.liu at linaro.org]
> Sent: Tuesday, October 10, 2017 1:55 PM
> To: Liu, Yong <yong.liu at intel.com>
> Cc: dts at dpdk.org; Herbert Guan <herbert.guan at arm.com>; Jianbo Liu
> <Jianbo.Liu at arm.com>
> Subject: Re: [dts] [PATCH] framework: extend dts to run against installed
> dpdk packages
> 
> Hi Marvin,
> 
> Is there any progress?
> 
> Thanks!
> Jianbo
> 
> On 13 September 2017 at 14:32, Jianbo Liu <jianbo.liu at linaro.org> wrote:
> > Hi Marvin,
> > Any update from you? What change should I make?
> >
> > Thanks!
> > Jianbo
> >
> > On 24 August 2017 at 20:15, Liu, Yong <yong.liu at intel.com> wrote:
> >> Thanks Jianbo, I'm sure whether this patch align to all dpdk release
> >> package.
> >> Let me check with my crew first.
> >>
> >> Thanks,
> >> Marvin
> >>
> >>
> >> On 08/24/2017 10:02 AM, Jianbo Liu wrote:
> >>>
> >>> dts runs from dpdk source code by default, but sometimes users may
> want
> >>> to run tests on installed packages. This patch gives them an option to
> do
> >>> that.
> >>>
> >>> One of dpdk packaging is deb_dpdk, which is popular for ubuntu and
> other
> >>> debian-based system.
> >>>
> >>> It's simple to do that, only to configure installed sdk path and
> testpmd
> >>> path
> >>> in the parameters.
> >>>
> >>> An example here is to run on deb_dpdk packages:
> >>> [Execution1]
> >>> crbs=<CRB IP Address>
> >>> drivername=igb_uio
> >>> test_suites=
> >>>      cmdline,
> >>>      ......,
> >>> targets=
> >>>      x86_64-native-linuxapp-gcc
> >>>
> >>>
> parameters=nic_type=cfg:func=true:installed_dpdk_sdk=/usr/share/dpdk:testp
> md_path=/usr/bin/testpmd
> >>>
> >>> If installed_dpdk_sdk is set, dts will not compile the libs, kernel
> >>> modules and testpmd.
> >>>
> >>> Signed-off-by: Jianbo Liu<jianbo.liu at linaro.org>
> >>> ---
> >>
> >>


More information about the dts mailing list