| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
base_contains is simply a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
update the dpdk recipe from v2.2.0 to v16.04. Rename the patches
according to the recipe version.
Now dpdk is following 'year-month' format for version numbering.
dpdk v16.04 required "CONFIG_RTE_IP_FRAG=y" in order to build
ip_fragmentation application.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add recipe for qat16 v2.6.0-65 and retire qat16 v2.3.0-34 with respective
patches
* Use the version directly in SRC_URI instead of ${PV} since version of qatmux
(v2.6.0-60) and qat16 (v2.6.0-65) are no longer same.
* Added an install target to makefiles to help install ingredients at a proper
path.
* Ensure that compiler linker and archiver will override only when it is not
defined by the environment.
* Override the MACHINE name for do_install.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the inclusion of SRC_URI:
https://01.org/sites/default/files/page/qatmux.l.${PV}.tgz;name=qat
from qat16.inc to version specific qat16 bb files. Since qatmux version
and qat16 version is no more same. So can't use ${PV} variable for next
version.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
The openssl recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
'disable-static' option is there in EXTRA_OECONF variable. No such option
is supported by configure script. So better to pass required option
directly without using variable.
This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The qat recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.
The prototype of a func used in QAT16 is changed in kernel v4.4
Also, make sure that we point to the correct include path to the local
headers.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This recipe adds the openssl-qat engine that accelerates some of the libcrypto
algorithms via the Intel QAT implemented on Intel communication chipsets.
QAT sample patch v0.4.9-009 is based on async branch of openssl-1.0.1m.
openssl & zlib shim layers both install the qat_mem.ko driver. Make openssl
shim dependent on zlib-qat and ensure that only zlib-qat installs this
kernel module.
This fix change in future when qat_mem module has been forked into
a separate package.
The recipe is for platforms like grantley and crystalforest
using the common BSP intel-corei7-64.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will rename the patches according to the dpdk version.
modify the .inc and .bb according to modified name of patches.
change the commit msg for patch:
dpdk-2.2.0-add-sysroot-option-within-app-makefile.patch
since it have mentioned the version not in use.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Removing the older version recipe dpdk v2.0.0 and dpdk v1.8.0
since newer version added so it is no longer required.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
This will upgrade the recipe dpdk v2.1.0 to dpdk v2.2.0.
The recipe is for platforms like grantley and crystalforest
using the common BSP intel-corei7-64.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Backported fixes from upstream dpdk sources to
ensure dpdk 1.8.0 compiles against kernel 4.1.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Backported fixes from upstream dpdk sources
to ensure dpdk 2.0.0 compiles against kernel 4.1.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove meta-romley BSP layer from meta-intel master branch
which is targeting for YP 2.0.
A heads-up email was sent to the meta-intel mailing list for
requesting any feedback regarding retirement of these BSP.
Since there is no concern, we assume that it is agreed upon
and thus this patch to retire the BSP.
The "MAINTAINERS file" and "conf/machine/README file" are updated to
reflect removal of the BSP.
We expect intel-corei7-64 machine is continued to be used to support
the platform and dpdk recipe under meta-romley is now supported under
meta-isg/common/recipes-extended/dpdk.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Mark common intel-core-i7 as the COMPATIBLE_MACHINE
for zlib-qat recipe.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Mark intel common BSP as the compatible machine for qat
recipes.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
This adds the recipe for qat16 v2.5.0-80 for grantley platforms
using the common BSP intel-corei7-64.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Defines strict_str* have become obsolete and removed entirely
starting from kernel v3.18. This results in errors like:
error: implicit declaration of function 'strict_strtoull'
[-Werror=implicit-function-declaration]
Replace strict_strtoull with kstrtoull to ensure qat 2.3.0-34
compiles.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc5 has changed its default standard to gnu11 from gnu89.
These two standards have different inline semantics. This
results in errors like:
undefined reference to `icp_adf_getQueueNext'
undefined reference to `icp_adf_updateQueueTail'
undefined reference to `icp_adf_pollQueue'
undefined reference to `icp_adf_queueDataToSend'
undefined reference to `icp_adf_getQueueMemory'
Use the -fgnu89-inline command line option as suggested in [1].
Also, make sure that all the CFLAGS values are being picked up
by the compiler.
[1] https://gcc.gnu.org/gcc-5/porting_to.html
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
* Move common meta-data from version specific recipe to inc.
* Remove PV in the recipe.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Move qat and zlib-qat recipes from meta-crystalforest to
meta-isg.
This allows us to utilize these common components across
all the supported platforms.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
This adds the recipe for dpdk v2.1.0 for grantley platforms
based on common intel-corei7-64 BSP.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add intel-corei7-64 as a compatible machine in addition
to crystalforest.
This is in line with the move to intel common BSP for all
supported platforms.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the inclusion of patch:
dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch
from dpdk.inc to version specific dpdk bb files where it needs to be applied.
This patch doesn't apply cleanly on top of dpdk v2.1.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure that we check for the right qat package when
enabling dpdk_qat example.
The qat package name has been changed to "virtual/qat"
to enable switching between different/future versions of qat
for supported platforms.
The preferred version of "virtual/qat" can be set in machine
conf when some other version, besides qat16, becomes available
and needs to be supported.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure that the dpdk_qat example app builds okay
when enabled using PACKAGECONFIG ?= " dpdk_qat".
Added a patch to dpdk_qat makefile to point to correct location
of qat libs and headers.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
|
|
|
|
|
|
|
| |
dpdk v2.0.0 required "CONFIG_RTE_IP_FRAG=y" in order to build
ip_fragmentation application.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes issue in build configuration variables that were
not correctly parsed by do_configure() task.The environment variables
are not evaluated because the config files under dpdk/config/ folder
are not parsed by Makefile but instead by cpp compiler.
Reported-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Tested-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
This patch tidy up dpdk.inc and removing unnecessary patches.
Integrating common recipe from dpdk_1.8.0.bb and dpdk_2.0.0.bb.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
This patch makes reference to early dpdk meta-data implementation
and extends it to support DPDK v2.0.0.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
applications
Introduce a patch to enable/disable the vhost and ip_fragmentation examples applications
under common_linuxapp config file. The flag introduce is controlled by PACKAGECONFIG.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
For patches which are common to DPDK v1.8 and DPDK v2.0, they are renamed to
following file naming format for clarity dpdk-1.8.0-and-2.0.0*.patch.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
dpdk_1.8.0.bb
dpdk.inc is common to dpdk_1.8.0.bb and dpdk_2.0.0.bb, since DPDK v2.0 is no longer have
hostapp directory, so we only perform hostapp installation for DPDK v1.8.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Extract out common meta-data from dpdk_1.8.0.bb into dpdk.inc for better
scalability into future dpdk.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds the support for DPDK v1.8.0 from dpdk.org.
It introduces PACKAGECONFIG options for enabling Virtualization Technology
and QuickAssiste Technology with DPDK.
There is couple of additional DPDK Makefile & config patches to enable
PACKAGECONFIG said above.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
DPDK default config set the TARGET machine type to native which is
incorrect. The SDK assumes that the DPDK package is built and installed
natively. So, to support cross-compilation uses, we add DPDK_TARGET_MACH
option here. This variable should be defined at either dpdk bb or bbappend
file.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
DPDK v1.8.0 app Makefile does not support "--sysroot=<path>" option
in LDFLAGS because of Makefile internal logic that always add -Wl, before.
This causes poky GNU linker search path issue for target machine sysroot
usr/lib.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
DPDK v1.8.0 has some change made on app makefile that breaks dpdk.inc
may on passing in EXTRA_CFLAGS AND EXTRA_LDFLAGS. So this patch
re-tune the dpdk.inc to align to the change.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Introduce two patches to enable DPDK config file to support PACKAGECONFIG
options for QAT, vhost and libvirt.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
| |
Starting form YPv1.8.y onwards, the kernel build output is separately kept
under work-shared.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DPDK software builds external kernel modules igb_uio.ko, rte_kni.ko & etc that
depend on the availability of kernel source. With splitting of kernel source
and artifacts into separate fodlers under tmp/work-shared, we need to handle
this by introducing do_configure[depends] += "virtual/kernel:do_shared_workdir"
to ensure build dependency is satisfied.
Refer to poky 46cdaf1 kernel: move source and build output to work-shared
This patch also introduces RTE_KERNELDIR_OUT variable to be used to setup
the kernel build artifact path. RTE_KERNELDIR remains as the kernel source path.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
Starting from DPDK v1.8 onwards, there is name change from
include/arch to include/generic under build directory. So to cater
for such change, we introduce ARCHDIR variable. This variable should
be set under individual version of dpdk recipe.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do_install() has been non-scalable due to different DPDK SW releases
offer increasingly more examples. So, this patch is intended to make
the do_install() simplified by using regular expression technique to
extract out executables name that are built.
Tested this patch with DPDK v1.6.0r2 and v1.7.0 and the software packages
look intact.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
(cherry picked from commit a43871c39ae462647ebe58679b92cd34c8ae48a6)
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
Added include file dpdk.inc to share common functionality based on
dpdk_1.6.0r2
Added a new variable EXAMPLE_BUILD_DIR. This points to apps build
directory which is different in dpdk v1.6.0r2 and v1.7.0.
Users of dpdk.inc have to define EXAMPLE_BUILD_DIR for the
installation of example apps.
This recipe is cherry-picked from branch dizzy and the commit ID:
1c825a06095178c0c51f28d5867549feac8a47f4:meta-intel/common: Add include file for DPDK
Signed-off-by: venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
(cherry picked from commit 578494c0c4715bb8d24972fa52850e89c36410a1)
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|