[meta-intel] [PATCH 0/3] Split out dpdk and qat from main meta-intel

Mark Hatle mark.hatle at windriver.com
Mon Sep 25 10:38:19 PDT 2017


See: https://github.com/mhatle/meta-intel.git mgh/split-dpdk-qat

The purpose of this patch set is to cleanly split out the dpdk and qat
components from the core meta-intel layer.

There was a request to make the layers (both meta-dpdk and meta-qat)
standalone, but unfortunately I do not have the time to follow through
with everything needed to setup two new layers on the YP tree (or elsewhere).

But... I did split out the dpdk/qat in a way that it should be clear from
viewing the history exactly how the split occurred, and any associated changes
in behavior.  (Such as patches 2 & 3 which adjust the way the BSP affects the
DPDK and QAT recipes.)

For someone who can create the new repositories, it should be as simple as
moving those layers to a new git tree and performing a git rm -r from the
meta-intel tree.

I'm happy to answer any questions about why certain changes were made or
if there is any minor rework requested.

(BTW one observation, meta-intel is missing LAYERDEPENDS in it's layer.conf
file.  It doesn't technically depend on anything based right now...  Similarly
I did not add any layer depends to meta-qat/meta-dpdk.  I suspect the minimum
dependency is only 'core'.)

--Mark

Mark Hatle (3):
  Move dpdk and qat components to meta-dpdk and meta-qat
  dpdk: Move BSP specific configurations from recipes to machine.conf
  qat: Move BSP specific configurations from recipes to machine.conf

 .../dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb       | 24 ------
 conf/include/maintainers.inc                       |  6 --
 conf/layer.conf                                    |  4 +-
 conf/machine/intel-corei7-64.conf                  | 10 +++
 meta-dpdk/COPYING.MIT                              | 17 +++++
 meta-dpdk/LICENSE                                  |  5 ++
 meta-dpdk/README                                   | 85 ++++++++++++++++++++++
 meta-dpdk/conf/include/maintainers.inc             |  4 +
 meta-dpdk/conf/layer.conf                          | 17 +++++
 .../dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb       | 27 +++++++
 .../files/0001-Fix-build-with-clang.patch          |  0
 ...02-typecast-enum-to-int-before-comparison.patch |  0
 .../files/0003-initialize-use_config_mr.patch      |  0
 .../files/0004-Fix-clang-warnings.patch            |  0
 .../dpdk-dev-libibverbs/files/init_c.patch         |  0
 .../recipes-extended/dpdk/dpdk.inc                 | 18 ++---
 ...-examples-Fix-maybe-uninitialized-warning.patch |  0
 ...6.04-Fix-for-misleading-indentation-error.patch |  0
 ...-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch |  0
 ...le-ip_fragmentation-in-common_base-config.patch |  0
 ...04-dpdk-fix-compilation-with-dynamic-libs.patch |  0
 ...07-add-sysroot-option-within-app-makefile.patch |  0
 ...dk-16.07-dpdk-fix-for-parellel-make-issue.patch |  0
 ...2-dpdk-fix-installation-warning-and-issue.patch |  0
 .../recipes-extended/dpdk/dpdk_17.05.bb            |  0
 meta-qat/COPYING.MIT                               | 17 +++++
 meta-qat/LICENSE                                   |  5 ++
 meta-qat/README                                    | 85 ++++++++++++++++++++++
 meta-qat/conf/include/maintainers.inc              |  5 ++
 meta-qat/conf/layer.conf                           | 18 +++++
 .../recipes-extended/openssl-qat/openssl-qat.inc   |  2 +-
 .../openssl-qat/0001-Use_sched_yield_api.patch     |  0
 ...sl_qat-add-openssl-async-specific-symbols.patch |  0
 ..._0.4.9-009-openssl_qat-add-version-script.patch |  0
 ...qat-build-qat_mem-ko-against-yocto-kernel.patch |  0
 ...-environment-variables-to-have-precedence.patch |  0
 ...openssl_qat-install-engines-in-libdir-ssl.patch |  0
 .../openssl_qat-pass-oe_ldflags-to-linker.patch    |  0
 .../openssl_qat-remove-redundant-rpaths.patch      |  0
 .../openssl-qat/openssl-qat_0.4.9-009.bb           |  0
 .../recipes-extended/qat/qat16.inc                 |  2 +-
 ...salServices-Only-use-bits-time-with-GLIBC.patch |  0
 ...t16_2.3.0-34-make-sure-CFLAGS-are-correct.patch |  0
 ....0-34-qat-fix-for-cross-compilation-issue.patch |  0
 ....0-34-qat-remove-local-path-from-makefile.patch |  0
 ...qat16_2.5.0-80-qat-Added-include-dir-path.patch |  0
 ....0-80-qat-add-install-target-to-makefiles.patch |  0
 ...nge-in-return-type-of-func-in-kernel-v4.4.patch |  0
 ....0-65-qat-add-install-target-to-makefiles.patch |  0
 ...rride-CC-LD-AR-only-when-it-is-not-define.patch |  0
 .../recipes-extended/qat/qat16/use-CC-for-LD.patch |  0
 .../recipes-extended/qat/qat16_2.5.0-80.bb         |  0
 .../recipes-extended/qat/qat16_2.6.0-65.bb         |  0
 .../0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch   |  0
 ...build-qat_mem-ko-against-yocto-kernel-src.patch |  0
 ....4.7-002-zlib-Remove-rpaths-from-makefile.patch |  0
 ...zlib-qat-add-a-install-target-to-makefile.patch |  0
 .../zlib-qat/zlib-qat_0.4.7-002.bb                 |  2 +-
 58 files changed, 308 insertions(+), 45 deletions(-)
 delete mode 100644 common/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
 create mode 100644 meta-dpdk/COPYING.MIT
 create mode 100644 meta-dpdk/LICENSE
 create mode 100644 meta-dpdk/README
 create mode 100644 meta-dpdk/conf/include/maintainers.inc
 create mode 100644 meta-dpdk/conf/layer.conf
 create mode 100644 meta-dpdk/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
 rename {common => meta-dpdk}/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk-dev-libibverbs/files/0002-typecast-enum-to-int-before-comparison.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk-dev-libibverbs/files/0004-Fix-clang-warnings.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk.inc (93%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/0001-examples-Fix-maybe-uninitialized-warning.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-16.04-Fix-for-misleading-indentation-error.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-enable-ip_fragmentation-in-common_base-config.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-fix-compilation-with-dynamic-libs.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-16.07-add-sysroot-option-within-app-makefile.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk/dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch (100%)
 rename {common => meta-dpdk}/recipes-extended/dpdk/dpdk_17.05.bb (100%)
 create mode 100644 meta-qat/COPYING.MIT
 create mode 100644 meta-qat/LICENSE
 create mode 100644 meta-qat/README
 create mode 100644 meta-qat/conf/include/maintainers.inc
 create mode 100644 meta-qat/conf/layer.conf
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat.inc (99%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/0001-Use_sched_yield_api.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-openssl-async-specific-symbols.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-version-script.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl_qat-build-qat_mem-ko-against-yocto-kernel.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl_qat-install-engines-in-libdir-ssl.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl_qat-pass-oe_ldflags-to-linker.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat/openssl_qat-remove-redundant-rpaths.patch (100%)
 rename {common => meta-qat}/recipes-extended/openssl-qat/openssl-qat_0.4.9-009.bb (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16.inc (98%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-add-install-target-to-makefiles.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-add-install-target-to-makefiles.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16/use-CC-for-LD.patch (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16_2.5.0-80.bb (100%)
 rename {common => meta-qat}/recipes-extended/qat/qat16_2.6.0-65.bb (100%)
 rename {common => meta-qat}/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch (100%)
 rename {common => meta-qat}/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-qat_mem-build-qat_mem-ko-against-yocto-kernel-src.patch (100%)
 rename {common => meta-qat}/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-Remove-rpaths-from-makefile.patch (100%)
 rename {common => meta-qat}/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch (100%)
 rename {common => meta-qat}/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb (98%)

-- 
1.8.3.1



More information about the meta-intel mailing list