[meta-intel] [meta-isg][fido][master][PATCH]dpdk:fix incorrect config fix-up patch and also tidy up dpdk.inc

chia.chuan.wu at intel.com chia.chuan.wu at intel.com
Mon Jul 27 04:14:04 PDT 2015


From: WU CHIA CHUAN <chia.chuan.wu at intel.com>

Hi Darren,

This patch fixed the critcal issue in build configuration variables that were not correctly parsed by to
do_configure() task. The environment variables introduced by below patches, $(DPDK_TARGET_MACH) & $(CONFIG_VHOST_ENABLED)
are not evaluated because the config files under dpdk/config/ folder are not parsed by Makefile but instead by cpp compiler.

	 dpdk/dpdk-1.8.0-and-2.0.0-dpdk-defconfig-select-RTE_MACHINE-type.patch
	 dpdk/dpdk-1.8.0-dpdk-enable-build-config-VHOST-in-common_linuxapp-config.patch
	 dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch

This patch also tidy up dpdk.inc by integrating common recipe from dpdk_1.8.0.bb and dpdk_2.0.0.bb.
Kindly review and if the patch are acceptable ,please help to merge them into fido and master branch.

Thank you very much,
Chia Chuan
-------------------------------
Test log:
1.)Run core-image-sato.hddimg on target platform(River Forest - Long Brook ).
2.)Builds core-image-sato(DPDKv1.8 and DPDKv2.0) on master and fido branch.
3.)insmod rte_kni.ko lo_mode=lo_mode_fifo , insmod igb_uio.ko
4.)Run dpdk test case (e.g.- version_autotest).

Ong Boon Leong (1):
  meta-isg: dpdk: fix incorrect config fix-up patch and also tidy up
    dpdk.inc

 meta-isg/common/recipes-extended/dpdk/dpdk.inc     | 29 +++++++++++++
 ....0-dpdk-defconfig-select-RTE_MACHINE-type.patch | 48 ---------------------
 ...ld-config-VHOST-in-common_linuxapp-config.patch | 43 -------------------
 ...T-and-ip_fragmentation-in-common_linuxapp.patch | 50 ----------------------
 .../common/recipes-extended/dpdk/dpdk_1.8.0.bb     | 22 ----------
 .../common/recipes-extended/dpdk/dpdk_2.0.0.bb     | 22 ----------
 6 files changed, 29 insertions(+), 185 deletions(-)
 delete mode 100644 meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-dpdk-defconfig-select-RTE_MACHINE-type.patch
 delete mode 100644 meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-dpdk-enable-build-config-VHOST-in-common_linuxapp-config.patch
 delete mode 100644 meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch

-- 
1.9.1



More information about the meta-intel mailing list