[meta-intel] [PATCH] dpdk: Set the correct RTE_TARGET for x86 machines

2018-04-26 Thread Kevin Hao
The TARGET_ARCH may be different for different x86 machines, for example i586(qemux86) and i686(genericx86). So choose the "x86" override to set the correct RTE_TARGET for these machines. Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk.inc | 2 +-

[meta-intel] [PATCH] dpdk: Fix the self reference error when building with unsupported arch

2018-04-25 Thread Kevin Hao
Fix the following parse error when building with unsupported arch, such as arm: bb.data_smart.ExpansionError: Failure expanding variable RTE_TARGET, expression was ${RTE_TARGET} which triggered exception Exception: variable RTE_TARGET references itself! Signed-off-by: Kevin Hao <ke

[meta-intel] [meta-dpdk 4/4] dpdk: Refresh the patches for the context changes

2018-04-08 Thread Kevin Hao
Using the following commands to refresh the patches in order to suppress the fuzz warnings. devtool modify dpdk devtool finish --force-patch-refresh dpdk meta-dpdk-dir No code change. Signed-off-by: Kevin Hao <kexin@windriver.com> --- ...-examples-Fix-maybe-uninitialized-warning

[meta-intel] [meta-dpdk 2/4] dpdk: Introduce the 17.11.1

2018-04-08 Thread Kevin Hao
This is the latest stable version. Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk_17.11.1.bb | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 recipes-extended/dpdk/dpdk_17.11.1.bb diff --git a/recipes-extended/dpdk/dpdk_17.1

[meta-intel] [meta-dpdk 1/4] dpdk: Factor out the license info into the specific bb

2018-04-08 Thread Kevin Hao
The license files may be different between different versions. So move them into the specific bb files. Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk.inc | 4 recipes-extended/dpdk/dpdk_18.02.bb | 5 + 2 files changed, 5 insertions

[meta-intel] [meta-dpdk 3/4] Add compatible for "sumo"

2018-04-08 Thread Kevin Hao
The latest Yocto has changed the LAYERSERIES_CORENAMES to "sumo". So add it to the compatible list. Signed-off-by: Kevin Hao <kexin@windriver.com> --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf in

[meta-intel] [meta-dpdk] dpdk: Use git repo

2018-04-08 Thread Kevin Hao
This is more convenient for development. Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk.inc| 6 +- recipes-extended/dpdk/dpdk_17.11.1.bb | 5 - recipes-extended/dpdk/dpdk_18.02.bb | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-)

Re: [meta-intel] [meta-dpdk 4/4] dpdk: Refresh the patches for the context changes

2018-04-09 Thread Kevin Hao
On Mon, Apr 09, 2018 at 04:21:21PM -0700, Cal Sullivan wrote: > It looks like dpdk-16.04-Fix-for-misleading-indentation-error.patch is no > longer necessary, as they added braces upstream. > > Otherwise, this set looks good and builds fine. > > I'll merge this and send an additional patch

[meta-intel] [meta-dpdk 0/3] dpdk: Add support for arm64

2018-04-12 Thread Kevin Hao
n-dpdk-dev-libibverbs = "qemuarm64" COMPATIBLE_HOST_pn-dpdk-dev-libibverbs = '(aarch64).*-linux' DPDK_TARGET_MACHINE ?= "dpaa2" Kevin Hao (3): dpdk: Remove the useless checksums dpdk: Add the missing return in get_dpdk_target_mach() dpdk: Add support for arm64

[meta-intel] [meta-dpdk 1/3] dpdk: Remove the useless checksums

2018-04-12 Thread Kevin Hao
After changing to the git repo, these checksums become useless. Just drop them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk_17.11.1.bb | 3 --- recipes-extended/dpdk/dpdk_18.02.bb | 3 --- 2 files changed, 6 deletions(-) diff --git a/recipes-extende

[meta-intel] [meta-dpdk 2/3] dpdk: Add the missing return in get_dpdk_target_mach()

2018-04-12 Thread Kevin Hao
Otherwise it always return "default" no matter what we set in "DPDK_TARGET_MACHINE". Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/dpdk/dpdk.i

[meta-intel] [meta-dpdk 3/3] dpdk: Add support for arm64

2018-04-12 Thread Kevin Hao
Signed-off-by: Kevin Hao <kexin@windriver.com> --- recipes-extended/dpdk/dpdk.inc | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc index 01724fbe5188..40f25ee3ed9a 100644 --- a/recipes-extende

Re: [meta-intel] [meta-dpdk] dpdk: Use git repo

2018-04-11 Thread Kevin Hao
On Mon, Apr 09, 2018 at 10:27:43AM +0800, Kevin Hao wrote: > This is more convenient for development. Hi Cal, Would you consider merging this patch? Thanks, Kevin > > Signed-off-by: Kevin Hao <kexin@windriver.com> > --- > recipes-extended/dpdk/dpdk.inc

Re: [meta-intel] [PATCH] conf/machine/intel-corei7-64.conf: remove DPDK_TARGET_MACHINE

2018-04-16 Thread Kevin Hao
On Mon, Apr 16, 2018 at 05:28:57PM -0700, California Sullivan wrote: > "atm" wasn't a real target and breaks the dpdk build now that the > TARGET_MACHINE selection is fixed. Just allow it to default since that's > what it effectively got before. > > Signed-off-by: California Sullivan

Re: [meta-intel] [meta-dpdk][PATCH 2/2] dpdk: merge recipe and include

2018-03-28 Thread Kevin Hao
On Wed, Mar 28, 2018 at 12:27:48PM +0500, Awais Belal wrote: > Since we only have a single version supported at the > moment, which is the latest and the greatest. It is > best that the include and base recipe files are merged > to allow better maintainability and readability. Please don't do

Re: [meta-intel] [meta-dpdk][PATCH 2/2] dpdk: merge recipe and include

2018-03-28 Thread Kevin Hao
reamed the same patch that was dropped in this upgrade, so > we're good on that front as well. Agreed. Thanks, Kevin > > Thanks, > Cal > > On 03/28/2018 12:46 AM, Kevin Hao wrote: > > On Wed, Mar 28, 2018 at 12:27:48PM +0500, Awais Belal wrote: > >

[meta-intel] [meta-dpdk 1/2] Drop the reference of meta-intel in README

2018-12-03 Thread Kevin Hao
This has been created as a separate layer for a long time, the reference of meta-intel in the README seems a bit confusion. So drop all of them. Signed-off-by: Kevin Hao --- README | 21 +++-- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/README b/README index

[meta-intel] [meta-dpdk 2/2] Add maintainer info for this layer

2018-12-03 Thread Kevin Hao
Add maintainer info in the README and also drop a stale maintainers.inc file. Signed-off-by: Kevin Hao --- README | 2 ++ conf/include/maintainers.inc | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 conf/include/maintainers.inc diff --git

Re: [meta-intel] [meta-dpdk 2/2] Drop the reference of meta-intel in this layer

2018-12-03 Thread Kevin Hao
On Tue, Nov 27, 2018 at 02:39:02PM +0800, Kevin Hao wrote: > On Tue, Nov 27, 2018 at 06:10:46AM +, Mittal, Anuj wrote: > > On Mon, 2018-11-26 at 22:06 +0800, Kevin Hao wrote: > > > conf/include/maintainers.inc | 2 +- > > > > Should this file be removed i

Re: [meta-intel] [meta-dpdk 2/2] Drop the reference of meta-intel in this layer

2018-11-26 Thread Kevin Hao
On Tue, Nov 27, 2018 at 06:10:46AM +, Mittal, Anuj wrote: > On Mon, 2018-11-26 at 22:06 +0800, Kevin Hao wrote: > > conf/include/maintainers.inc | 2 +- > > Should this file be removed instead? It shouldn't be needed for this > layer ... Agreed. I can compose a new patch

[meta-intel] [meta-dpdk 1/2] Fix the stale dependency info in README

2018-11-26 Thread Kevin Hao
Instead of sticking to one specific version on the dependency layers and having to update it for each release version, just claim that this layer is compatible with the latest version of the dependency layers. Signed-off-by: Kevin Hao --- README | 4 ++-- 1 file changed, 2 insertions(+), 2

[meta-intel] [meta-dpdk 2/2] Drop the reference of meta-intel in this layer

2018-11-26 Thread Kevin Hao
This has been created as a separate layer for a long time, the reference of meta-intel in this layer seems a bit confusion. So drop all of them. Signed-off-by: Kevin Hao --- README | 21 +++-- conf/include/maintainers.inc | 2 +- 2 files changed, 4

Re: [meta-intel] [meta-dpdk v2 2/2] Introduce the v18.11.1 bb

2019-05-26 Thread Kevin Hao
On Fri, May 24, 2019 at 03:45:07AM +, Mittal, Anuj wrote: > Hi Kevin, > > I have a few comments: > > On Fri, 2019-05-24 at 09:36 +0800, Kevin Hao wrote: > ... > > > +From d50d2a8f3da588c0aaeb95116a88be5a598b4b16 Mon Sep 17 00:00:00 > > 2001 > > +From:

Re: [meta-intel] [meta-dpdk v2 2/2] Introduce the v18.11.1 bb

2019-05-27 Thread Kevin Hao
On Mon, May 27, 2019 at 01:48:52AM +, Mittal, Anuj wrote: > On Sun, 2019-05-26 at 14:54 +0800, Kevin Hao wrote: > > > If not, we should probably just remove it in do_install_append and > > not > > > carry this patch. > > > > Do you mean som

[meta-intel] [meta-dpdk v3 1/3] dpdk_18.05: Make the LICENSE more accurate

2019-05-27 Thread Kevin Hao
Adjust the LICENSE according to the license files. Signed-off-by: Kevin Hao --- v3: A new patch. recipes-extended/dpdk/dpdk_18.05.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/dpdk/dpdk_18.05.bb b/recipes-extended/dpdk/dpdk_18.05.bb index f914214b6e7e

[meta-intel] [meta-dpdk v3 2/3] Move two patches to the version specific bb

2019-05-27 Thread Kevin Hao
These two patches can't be applied to the new version DPDK, so move them to the version specific bb. Signed-off-by: Kevin Hao --- v3: No change. recipes-extended/dpdk/dpdk.inc| 2 -- recipes-extended/dpdk/dpdk_17.11.3.bb | 6 +- recipes-extended/dpdk/dpdk_18.05.bb | 2 ++ 3 files

[meta-intel] [meta-dpdk v3 3/3] Introduce the v18.11.1 bb

2019-05-27 Thread Kevin Hao
This is the latest LTS version. Signed-off-by: Kevin Hao --- v3: Drop the two unneeded patches and adjust the LICENSE. recipes-extended/dpdk/dpdk_18.11.1.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 recipes-extended/dpdk/dpdk_18.11.1.bb diff --git a/recipes

[meta-intel] [meta-dpdk 1/2] Move two patches to the version specific bb

2019-05-23 Thread Kevin Hao
These two patches can't be applied to the new version DPDK, so move them to the version specific bb. Signed-off-by: Kevin Hao --- recipes-extended/dpdk/dpdk.inc| 2 -- recipes-extended/dpdk/dpdk_17.11.3.bb | 6 +- recipes-extended/dpdk/dpdk_18.05.bb | 2 ++ 3 files changed, 7

[meta-intel] [meta-dpdk 2/2] Introduce the v18.11.1 bb

2019-05-23 Thread Kevin Hao
This is the latest LTS version. Signed-off-by: Kevin Hao --- ...Drop-the-unneeded-files-when-installation.patch | 31 ...dk-18.11-dpdk-fix-for-parellel-make-issue.patch | 42 ++ recipes-extended/dpdk/dpdk_18.11.1.bb | 15 3 files

[meta-intel] [meta-dpdk v2 1/2] Move two patches to the version specific bb

2019-05-23 Thread Kevin Hao
These two patches can't be applied to the new version DPDK, so move them to the version specific bb. Signed-off-by: Kevin Hao --- v2: No change. recipes-extended/dpdk/dpdk.inc| 2 -- recipes-extended/dpdk/dpdk_17.11.3.bb | 6 +- recipes-extended/dpdk/dpdk_18.05.bb | 2 ++ 3 files

[meta-intel] [meta-dpdk v2 2/2] Introduce the v18.11.1 bb

2019-05-23 Thread Kevin Hao
This is the latest LTS version. Signed-off-by: Kevin Hao --- v2: Also drop the mk files to avoid the QA warning. ...Drop-the-unneeded-files-when-installation.patch | 33 + ...dk-18.11-dpdk-fix-for-parellel-make-issue.patch | 42 ++ recipes-extended/dpdk

Re: [meta-intel] [meta-dpdk 2/2] Introduce the v18.11.1 bb

2019-05-23 Thread Kevin Hao
On Thu, May 23, 2019 at 04:05:24PM +0800, Kevin Hao wrote: > This is the latest LTS version. > > Signed-off-by: Kevin Hao > --- > ...Drop-the-unneeded-files-when-installation.patch | 31 > ...dk-18.11-dpdk-fix-for-parellel-mak