summaryrefslogtreecommitdiffstats
path: root/meta-isg/common/recipes-extended/dpdk
Commit message (Collapse)AuthorAgeFilesLines
* meta-isg: dpdk: intro recipe for DPDK v1.8.0Ong Boon Leong2015-07-101-0/+61
| | | | | | | | | | | | | 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>
* meta-isg: dpdk v1.8: introduce target machine selection for DPDK.Ong Boon Leong2015-07-101-0/+48
| | | | | | | | | | | 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>
* meta-isg: dpdk v1.8: add app makefile patch to enable sysroot settingOng Boon Leong2015-07-101-0/+33
| | | | | | | | | | 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>
* meta-isg: dpdk: fix GCC compiler LDFLAG and CFLAG issueOng Boon Leong2015-07-101-2/+2
| | | | | | | | | 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>
* meta-isg: dpdk v1.8: add patches for qat, vhost and libvirt PACKAGECONFIGOng Boon Leong2015-07-102-0/+87
| | | | | | | | 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>
* meta-isg: dpdk v1.8.0: add makefile patches to support split kernel outputOng Boon Leong2015-07-101-0/+52
| | | | | | | | 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>
* meta-isg: dpdk: add external kernel module build handling for tmp/work-sharedOng Boon Leong2015-07-101-0/+3
| | | | | | | | | | | | | | | | 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>
* meta-isg: dpdk: introduce ARCHDIR variable to dpdk.incOng Boon Leong2015-07-101-3/+3
| | | | | | | | | | 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>
* meta-isg: dpdk: improve software installation taskOng Boon Leong2015-07-101-57/+26
| | | | | | | | | | | | | | | | | 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>
* meta-isg: Add include file for DPDKvenkatasubramanian pattu2015-07-101-0/+138
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>