[meta-intel] [fido][PATCH 16/16] meta-isg: dpdk v2.0.0: initial DPDK v2.0.0 enabling recipe

Ong Boon Leong boon.leong.ong at intel.com
Tue Jul 7 16:20:56 PDT 2015


From: WU CHIA CHUAN <chia.chuan.wu at 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 at intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong at intel.com>
---
 .../common/recipes-extended/dpdk/dpdk_2.0.0.bb     |   29 ++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb

diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb b/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb
new file mode 100644
index 0000000..cb158b9
--- /dev/null
+++ b/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb
@@ -0,0 +1,29 @@
+include dpdk.inc
+
+SRC_URI = "http://dpdk.org/browse/dpdk/snapshot/dpdk-${PV}.tar.gz;name=dpdk \
+	   file://dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch \
+	   file://dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch \
+	   file://dpdk-1.8.0-and-2.0.0-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \
+	   file://dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch \
+	   file://dpdk-1.8.0-and-2.0.0-dpdk-defconfig-select-RTE_MACHINE-type.patch \
+	   "
+
+SRC_URI[dpdk.md5sum] = "e9e7935c9eec920841ad373949514934"
+SRC_URI[dpdk.sha256sum] = "643789a3be5ba44dd84d6b248cdf5471b260f8736dada177dadf076aebfbff3f"
+
+export EXAMPLES_BUILD_DIR = "${RTE_TARGET}"
+export ARCHDIR = "generic"
+
+# dpdk example apps dpdk_qat and vhost have dependancy on fuse and qat.
+# fuse is in meta-filesystems and qat is not yet upstreamed.
+# So adding mechanism to explicitly disable the use of fuse and qat.
+# To enable, uncomment the below line or include in .bbappend.
+# PACKAGECONFIG ?= " dpdk_qat vhost libvirt"
+
+PACKAGECONFIG[dpdk_qat] = ",,qat"
+PACKAGECONFIG[vhost] = ",,fuse"
+PACKAGECONFIG[libvirt] = ",,libvirt"
+
+export CONFIG_EXAMPLE_DPDK_QAT = "${@base_contains('PACKAGECONFIG', 'dpdk_qat', 'y', 'n', d)}"
+export CONFIG_EXAMPLE_VM_POWER_MANAGER = "${@base_contains('PACKAGECONFIG', 'libvirt', 'y', 'n', d)}"
+export CONFIG_VHOST_ENABLED = "${@base_contains('PACKAGECONFIG', 'vhost', 'y', 'n', d)}"
-- 
1.7.9.5



More information about the meta-intel mailing list