Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config

2014-09-18 Thread Burton, Ross
On 18 September 2014 03:21, Ong, Boon Leong boon.leong@intel.com wrote:
 On their own, the DPDK packages are useless as the user needs to compile
 their application with them.  What you're basically doing is forcing a 
 library onto
 *every* image for that machine, even ones that don't want to use DPDK.
 Please don't do that.

 So, reading from your feedback, I think that you are suggesting to create 
 bbappend file for each of the target image type
 (core-image-sato  core-image-sato-sdk) with IMAGE_INSTALL += dpdk 
 dpdk-examples ...
 Just want to be sure we get your idea correctly.

 These are the two images that CID customers are using from Yocto Project.

I'm suggesting that nobody will be taking e.g core-image-sato and be
able to work out of the box with dpdk installed, as they'll need a
toolchain to build their own application against dpdk. Let's just not
install it in the images, and a user will either write a recipe for
their image or create a SDK image to which they can trivially add
dpdk.

Ross
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config

2014-09-18 Thread Ong, Boon Leong
 I'm suggesting that nobody will be taking e.g core-image-sato and be able to
 work out of the box with dpdk installed, as they'll need a toolchain to build
 their own application against dpdk. Let's just not install it in the images, 
 and a
 user will either write a recipe for their image or create a SDK image to which
 they can trivially add dpdk.

Ross, 

DPDK suite comes with library and sample application that in past release run 
out-of-box
to demonstrate the feature. Romley  crystal-forest are communication grade 
platform
which is expected to have both DPDK and QAT technology demonstrated. 

The challenge is if we don't have the features  examples pre-installed on the 
sample image
that is packaged into release tarball, customer have to build them from scratch 
to try out
the DPDK examples. Yes, I do agree that it is trivial.

I do agree that customer sample app is still need to be compiled against the 
shared library.
So, they will have to rebuild some image again.

I am looping in CID TME to give in their opinion on this subject matter as he 
owns the supporting 
customer part just to check with him whether it is ok to leave the trivial 
change to end-customer who is using
yocto to do that themselves. If I remember correctly, that will require some 
documentation update
on their end too.

Thanks for the response anyway, let's do what is right and also convenient for 
the user... 
I believe that we can reach some agreement here 

Joel  Abhishek, 
What is your thought of not having DPDK QAT technology pre-installed 
on the
core-image-sato  core-image-sato-sdk images? Do you think that your customer 
will follow
some recommendation documented in manual to add them into their build recipe to 
add in 
DPDK and DPDK samples? 
Do take note that, in the past on the NDA recipe that was released out 
in previous
product line,  DPDK  QAT are preinstalled onto the core-image-sato binary that 
is released
as test image. What is your thought there? 
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config

2014-09-17 Thread Kamble, Nitin A
Hi Sreeju,

Aren¹t there other BSPs such as crystalforest which can utilize the DPDK
feature?

Nitin


On 9/17/14, 7:20 AM, sreeju.armughanx.selva...@intel.com
sreeju.armughanx.selva...@intel.com wrote:

From: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com

Added MACHINE_EXTRA_RRECOMMENDS to include dpdk v1.7.0 support
for romley machiine, so that dpdk will be enabled by default
for Romley. Also included the dpdk example package, so that
user can use example apps to exercise the DPDK libraries.

Signed-off-by: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com
---
 meta-romley/conf/machine/romley-ivb.conf | 4 
 meta-romley/conf/machine/romley.conf | 5 +
 2 files changed, 9 insertions(+)

diff --git a/meta-romley/conf/machine/romley-ivb.conf
b/meta-romley/conf/machine/romley-ivb.conf
index af52897..e130068 100644
--- a/meta-romley/conf/machine/romley-ivb.conf
+++ b/meta-romley/conf/machine/romley-ivb.conf
@@ -18,3 +18,7 @@ XSERVER ?= ${XSERVER_X86_BASE} \
${XSERVER_X86_EXT} \
  ${XSERVER_X86_MATROX_MGA} \

+PREFERRED_VERSION_dpdk ?= 1.7.0%
+MACHINE_EXTRA_RRECOMMENDS += dpdk \
+dpdk-examples \
+
diff --git a/meta-romley/conf/machine/romley.conf
b/meta-romley/conf/machine/romley.conf
index ed52a1e..a814fc3 100644
--- a/meta-romley/conf/machine/romley.conf
+++ b/meta-romley/conf/machine/romley.conf
@@ -18,3 +18,8 @@ XSERVER ?= ${XSERVER_X86_BASE} \
${XSERVER_X86_EXT} \
  ${XSERVER_X86_MATROX_MGA} \

+PREFERRED_VERSION_dpdk ?= 1.7.0%
+MACHINE_EXTRA_RRECOMMENDS += dpdk \
+dpdk-examples \
+
+
-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config

2014-09-17 Thread Burton, Ross
On 17 September 2014 15:20,  sreeju.armughanx.selva...@intel.com wrote:
 Added MACHINE_EXTRA_RRECOMMENDS to include dpdk v1.7.0 support
 for romley machiine, so that dpdk will be enabled by default
 for Romley. Also included the dpdk example package, so that
 user can use example apps to exercise the DPDK libraries.

I went through this with the guy who submitted the 1.7 recipes.

On their own, the DPDK packages are useless as the user needs to
compile their application with them.  What you're basically doing is
forcing a library onto *every* image for that machine, even ones that
don't want to use DPDK.  Please don't do that.

Ross
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config

2014-09-17 Thread Selvaraj, Sreeju ArmughanX
Hi Nitin,

Yes, it can be utilized in  crystalforest, highlandforest and mohonpeak.

Thanks and Regards,
-Sreeju

-Original Message-
From: Kamble, Nitin A 
Sent: Thursday, September 18, 2014 12:04 AM
To: Selvaraj, Sreeju ArmughanX; meta-intel@yoctoproject.org
Subject: Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for 
Romley machine config

Hi Sreeju,

Aren¹t there other BSPs such as crystalforest which can utilize the DPDK 
feature?

Nitin


On 9/17/14, 7:20 AM, sreeju.armughanx.selva...@intel.com
sreeju.armughanx.selva...@intel.com wrote:

From: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com

Added MACHINE_EXTRA_RRECOMMENDS to include dpdk v1.7.0 support for 
romley machiine, so that dpdk will be enabled by default for Romley. 
Also included the dpdk example package, so that user can use example 
apps to exercise the DPDK libraries.

Signed-off-by: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com
---
 meta-romley/conf/machine/romley-ivb.conf | 4 
 meta-romley/conf/machine/romley.conf | 5 +
 2 files changed, 9 insertions(+)

diff --git a/meta-romley/conf/machine/romley-ivb.conf
b/meta-romley/conf/machine/romley-ivb.conf
index af52897..e130068 100644
--- a/meta-romley/conf/machine/romley-ivb.conf
+++ b/meta-romley/conf/machine/romley-ivb.conf
@@ -18,3 +18,7 @@ XSERVER ?= ${XSERVER_X86_BASE} \
${XSERVER_X86_EXT} \
  ${XSERVER_X86_MATROX_MGA} \

+PREFERRED_VERSION_dpdk ?= 1.7.0%
+MACHINE_EXTRA_RRECOMMENDS += dpdk \
+dpdk-examples \
+
diff --git a/meta-romley/conf/machine/romley.conf
b/meta-romley/conf/machine/romley.conf
index ed52a1e..a814fc3 100644
--- a/meta-romley/conf/machine/romley.conf
+++ b/meta-romley/conf/machine/romley.conf
@@ -18,3 +18,8 @@ XSERVER ?= ${XSERVER_X86_BASE} \
${XSERVER_X86_EXT} \
  ${XSERVER_X86_MATROX_MGA} \

+PREFERRED_VERSION_dpdk ?= 1.7.0%
+MACHINE_EXTRA_RRECOMMENDS += dpdk \
+dpdk-examples \
+
+
--
1.9.1

--
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config

2014-09-17 Thread Ong, Boon Leong
 On their own, the DPDK packages are useless as the user needs to compile
 their application with them.  What you're basically doing is forcing a 
 library onto
 *every* image for that machine, even ones that don't want to use DPDK.
 Please don't do that.

So, reading from your feedback, I think that you are suggesting to create 
bbappend file for each of the target image type
(core-image-sato  core-image-sato-sdk) with IMAGE_INSTALL += dpdk 
dpdk-examples ... 
Just want to be sure we get your idea correctly.

These are the two images that CID customers are using from Yocto Project. 

Thanks


 
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel