From a20d06d7e4b07c8ba12364a5262eeab8455235af Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 25 Sep 2017 12:38:20 -0500 Subject: [PATCH] Move dpdk and qat components to meta-dpdk and meta-qat meta-dpdk / meta-qat: * Move content from meta-intel/common * Create new basic README/LICENSE files from meta-intel * Create new layer.conf files * Fill out the maintainers files meta-intel: * update the maintainers files * bump the meta-intel layer version * add layer recommend No other content changes made in this commit. Signed-off-by: Mark Hatle Signed-off-by: Saul Wold --- conf/include/maintainers.inc | 6 -- conf/layer.conf | 4 +- 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 | 0 .../files/0001-Fix-build-with-clang.patch | 0 ...pecast-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 | 0 ...ples-Fix-maybe-uninitialized-warning.patch | 0 ...Fix-for-misleading-indentation-error.patch | 0 ...RTE_KERNELDIR_OUT-to-split-kernel-bu.patch | 0 ..._fragmentation-in-common_base-config.patch | 0 ...dk-fix-compilation-with-dynamic-libs.patch | 0 ...d-sysroot-option-within-app-makefile.patch | 0 ....07-dpdk-fix-for-parellel-make-issue.patch | 0 ...k-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 ++++ .../openssl-qat/openssl-qat.inc | 0 .../0001-Use_sched_yield_api.patch | 0 ...t-add-openssl-async-specific-symbols.patch | 0 ...9-009-openssl_qat-add-version-script.patch | 0 ...uild-qat_mem-ko-against-yocto-kernel.patch | 0 ...ronment-variables-to-have-precedence.patch | 0 ...sl_qat-install-engines-in-libdir-ssl.patch | 0 ...penssl_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 | 0 ...rvices-Only-use-bits-time-with-GLIBC.patch | 0 ....3.0-34-make-sure-CFLAGS-are-correct.patch | 0 ...-qat-fix-for-cross-compilation-issue.patch | 0 ...-qat-remove-local-path-from-makefile.patch | 0 ..._2.5.0-80-qat-Added-include-dir-path.patch | 0 ...-qat-add-install-target-to-makefiles.patch | 0 ...n-return-type-of-func-in-kernel-v4.4.patch | 0 ...-qat-add-install-target-to-makefiles.patch | 0 ...-CC-LD-AR-only-when-it-is-not-define.patch | 0 .../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 ...01-qat_zlib.h-Add-pthread.h-for-MUSL.patch | 0 ...-qat_mem-ko-against-yocto-kernel-src.patch | 0 ...002-zlib-Remove-rpaths-from-makefile.patch | 0 ...qat-add-a-install-target-to-makefile.patch | 0 .../zlib-qat/zlib-qat_0.4.7-002.bb | 0 56 files changed, 261 insertions(+), 7 deletions(-) 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 rename {common => meta-dpdk}/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb (100%) 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 (100%) 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 (100%) 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 (100%) 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 (100%) diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc index 8a77ee64..995ff339 100644 --- a/conf/include/maintainers.inc +++ b/conf/include/maintainers.inc @@ -2,8 +2,6 @@ RECIPE_MAINTAINER_pn-core-image-rt = "Swee Aun Khor " RECIPE_MAINTAINER_pn-core-image-rt-sdk = "Swee Aun Khor " -RECIPE_MAINTAINER_pn-dpdk = "TBD DPDK Flex Team" -RECIPE_MAINTAINER_pn-dpdk-dev-libibverbs = "TBD DPDK Flex Team" RECIPE_MAINTAINER_pn-efilinux = "Swee Aun Khor " RECIPE_MAINTAINER_pn-gma500-gfx-check = "Wei Tee Ng " RECIPE_MAINTAINER_pn-intel-gpu-tools = "Wei Tee Ng " @@ -17,13 +15,9 @@ RECIPE_MAINTAINER_pn-linux-intel = "Swee Aun Khor " RECIPE_MAINTAINER_pn-linux-intel-rt = "Swee Aun Khor " RECIPE_MAINTAINER_pn-lms7 = "TBD" RECIPE_MAINTAINER_pn-lms8 = "TBD" -RECIPE_MAINTAINER_pn-openssl-qat = "TBD DPDK Flex Team" -RECIPE_MAINTAINER_pn-qat16 = "TBD DPDK Flex Team" -RECIPE_MAINTAINER_pn-qat16 = "TBD DPDK Flex Team" RECIPE_MAINTAINER_pn-rmc = "Wei Tee Ng " RECIPE_MAINTAINER_pn-rmc-db = "Wei Tee Ng " RECIPE_MAINTAINER_pn-thermald = "Swee Aun Khor " RECIPE_MAINTAINER_pn-va-intel = "Wei Tee Ng " RECIPE_MAINTAINER_pn-xf86-video-ast = "Wei Tee Ng " RECIPE_MAINTAINER_pn-xf86-video-mga = "Wei Tee Ng " -RECIPE_MAINTAINER_pn-zlib-qat = "TBD DPDK Flex Team" diff --git a/conf/layer.conf b/conf/layer.conf index 53d0bdc9..40f406d4 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -12,9 +12,11 @@ BBFILE_PRIORITY_intel = "5" # Additional license directories. LICENSE_PATH += "${LAYERDIR}/common/custom-licenses" +LAYERRECOMMENDS_intel = "dpdk intel-qat" + # This should only be incremented on significant changes that will # cause compatibility issues with other layers -LAYERVERSION_intel = "3" +LAYERVERSION_intel = "4" LAYERSERIES_COMPAT_intel = "rocko" diff --git a/meta-dpdk/COPYING.MIT b/meta-dpdk/COPYING.MIT new file mode 100644 index 00000000..fb950dc6 --- /dev/null +++ b/meta-dpdk/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-dpdk/LICENSE b/meta-dpdk/LICENSE new file mode 100644 index 00000000..e57d3b90 --- /dev/null +++ b/meta-dpdk/LICENSE @@ -0,0 +1,5 @@ +All metadata files (including, but not limited to bb, bbappend, +bbclass, inc and conf files) are MIT licensed unless otherwise stated. +Source code included in tree for individual recipes is under the +LICENSE stated in the associated recipe (.bb file) unless otherwise +stated. diff --git a/meta-dpdk/README b/meta-dpdk/README new file mode 100644 index 00000000..071290ba --- /dev/null +++ b/meta-dpdk/README @@ -0,0 +1,85 @@ +meta-dpdk +========= + +This README file contains information on building and booting +meta-intel BSP layers. Please see the corresponding sections below +for details. + + +Yocto Project Compatible +======================== + +The BSPs contained in this layer are compatible with the Yocto Project +as per the requirements listed here: + + https://www.yoctoproject.org/webform/yocto-project-compatible-registration + + +Dependencies +============ + +This layer depends on: + + URI: git://git.openembedded.org/bitbake + branch: 1.34 + + URI: git://git.openembedded.org/openembedded-core + layers: meta + branch: pyro + + +Guidelines for submitting patches +==================================== + +Please submit any patches against meta-dpdk to the meta-intel +mailing list (meta-intel@yoctoproject.org). Also, if your patches are +available via a public git repository, please also include a URL to +the repo and branch containing your patches as that makes it easier +for maintainers to grab and test your patches. + +There are patch submission scripts available that will, among other +things, automatically include the repo URL and branch as mentioned. +Please see the Yocto Project Development Manual sections entitled +'Using Scripts to Push a Change Upstream and Request a Pull' and +'Using Email to Submit a Patch' for details. + +Regardless of how you submit a patch or patchset, the patches should +at minimum follow the suggestions outlined in the 'Submitting a Change +to the Yocto Project' section in the Yocto Project Development Manual. +Specifically, they should: + + - Include a 'Signed-off-by:' line. A commit can't legally be pulled + in without this. + + - Provide a single-line, short summary of the change. This short + description should be prefixed by the BSP or recipe name, as + appropriate, followed by a colon. Capitalize the first character + of the summary (following the colon). + + - For the body of the commit message, provide detailed information + that describes what you changed, why you made the change, and the + approach you used. + + - If the change addresses a specific bug or issue that is associated + with a bug-tracking ID, include a reference to that ID in your + detailed description in the following format: [YOCTO #]. + + - Pay attention to line length - please don't allow any particular + line in the commit message to stretch past 72 characters. + + - For any non-trivial patch, provide information about how you + tested the patch, and for any non-trivial or non-obvious testing + setup, provide details of that setup. + +Doing a quick 'git log' in meta-intel will provide you with many +examples of good example commits if you have questions about any +aspect of the preferred format. + +The meta-intel maintainers will do their best to review and/or pull in +a patch or patchset within 24 hours of the time it was posted. For +larger and/or more involved patches and patchsets, the review process +may take longer. + +Please see the meta-intel/MAINTAINERS file for the list of maintainers +and their specific areas; it's also a good idea to cc: the specific +maintainer, if applicable. diff --git a/meta-dpdk/conf/include/maintainers.inc b/meta-dpdk/conf/include/maintainers.inc new file mode 100644 index 00000000..b1499f6c --- /dev/null +++ b/meta-dpdk/conf/include/maintainers.inc @@ -0,0 +1,4 @@ +# This file contains a list of recipe maintainers for meta-intel + +RECIPE_MAINTAINER_pn-dpdk = "TBD DPDK Flex Team" +RECIPE_MAINTAINER_pn-dpdk-dev-libibverbs = "TBD DPDK Flex Team" diff --git a/meta-dpdk/conf/layer.conf b/meta-dpdk/conf/layer.conf new file mode 100644 index 00000000..5c11debf --- /dev/null +++ b/meta-dpdk/conf/layer.conf @@ -0,0 +1,17 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "dpdk" +BBFILE_PATTERN_dpdk := "^${LAYERDIR}/" +BBFILE_PRIORITY_dpdk = "5" + +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_dpdk = "1" +LAYERSERIES_COMPAT_dpdk = "rocko" + +require ${LAYERDIR}/conf/include/maintainers.inc diff --git a/common/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb similarity index 100% rename from common/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb rename to meta-dpdk/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb diff --git a/common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch similarity index 100% rename from common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch rename to meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch diff --git a/common/recipes-extended/dpdk-dev-libibverbs/files/0002-typecast-enum-to-int-before-comparison.patch b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0002-typecast-enum-to-int-before-comparison.patch similarity index 100% rename from common/recipes-extended/dpdk-dev-libibverbs/files/0002-typecast-enum-to-int-before-comparison.patch rename to meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0002-typecast-enum-to-int-before-comparison.patch diff --git a/common/recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch similarity index 100% rename from common/recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch rename to meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch diff --git a/common/recipes-extended/dpdk-dev-libibverbs/files/0004-Fix-clang-warnings.patch b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0004-Fix-clang-warnings.patch similarity index 100% rename from common/recipes-extended/dpdk-dev-libibverbs/files/0004-Fix-clang-warnings.patch rename to meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0004-Fix-clang-warnings.patch diff --git a/common/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch similarity index 100% rename from common/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch rename to meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch diff --git a/common/recipes-extended/dpdk/dpdk.inc b/meta-dpdk/recipes-extended/dpdk/dpdk.inc similarity index 100% rename from common/recipes-extended/dpdk/dpdk.inc rename to meta-dpdk/recipes-extended/dpdk/dpdk.inc diff --git a/common/recipes-extended/dpdk/dpdk/0001-examples-Fix-maybe-uninitialized-warning.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/0001-examples-Fix-maybe-uninitialized-warning.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/0001-examples-Fix-maybe-uninitialized-warning.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/0001-examples-Fix-maybe-uninitialized-warning.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.04-Fix-for-misleading-indentation-error.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-Fix-for-misleading-indentation-error.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-16.04-Fix-for-misleading-indentation-error.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-Fix-for-misleading-indentation-error.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-enable-ip_fragmentation-in-common_base-config.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-enable-ip_fragmentation-in-common_base-config.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-enable-ip_fragmentation-in-common_base-config.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-enable-ip_fragmentation-in-common_base-config.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-fix-compilation-with-dynamic-libs.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-fix-compilation-with-dynamic-libs.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-fix-compilation-with-dynamic-libs.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.04-dpdk-fix-compilation-with-dynamic-libs.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.07-add-sysroot-option-within-app-makefile.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.07-add-sysroot-option-within-app-makefile.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-16.07-add-sysroot-option-within-app-makefile.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.07-add-sysroot-option-within-app-makefile.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch b/meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch similarity index 100% rename from common/recipes-extended/dpdk/dpdk/dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch rename to meta-dpdk/recipes-extended/dpdk/dpdk/dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch diff --git a/common/recipes-extended/dpdk/dpdk_17.05.bb b/meta-dpdk/recipes-extended/dpdk/dpdk_17.05.bb similarity index 100% rename from common/recipes-extended/dpdk/dpdk_17.05.bb rename to meta-dpdk/recipes-extended/dpdk/dpdk_17.05.bb diff --git a/meta-qat/COPYING.MIT b/meta-qat/COPYING.MIT new file mode 100644 index 00000000..fb950dc6 --- /dev/null +++ b/meta-qat/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-qat/LICENSE b/meta-qat/LICENSE new file mode 100644 index 00000000..e57d3b90 --- /dev/null +++ b/meta-qat/LICENSE @@ -0,0 +1,5 @@ +All metadata files (including, but not limited to bb, bbappend, +bbclass, inc and conf files) are MIT licensed unless otherwise stated. +Source code included in tree for individual recipes is under the +LICENSE stated in the associated recipe (.bb file) unless otherwise +stated. diff --git a/meta-qat/README b/meta-qat/README new file mode 100644 index 00000000..e43b7fa2 --- /dev/null +++ b/meta-qat/README @@ -0,0 +1,85 @@ +meta-qat +======== + +This README file contains information on building and booting +meta-intel BSP layers. Please see the corresponding sections below +for details. + + +Yocto Project Compatible +======================== + +The BSPs contained in this layer are compatible with the Yocto Project +as per the requirements listed here: + + https://www.yoctoproject.org/webform/yocto-project-compatible-registration + + +Dependencies +============ + +This layer depends on: + + URI: git://git.openembedded.org/bitbake + branch: 1.34 + + URI: git://git.openembedded.org/openembedded-core + layers: meta + branch: pyro + + +Guidelines for submitting patches +==================================== + +Please submit any patches against meta-dpdk to the meta-intel +mailing list (meta-intel@yoctoproject.org). Also, if your patches are +available via a public git repository, please also include a URL to +the repo and branch containing your patches as that makes it easier +for maintainers to grab and test your patches. + +There are patch submission scripts available that will, among other +things, automatically include the repo URL and branch as mentioned. +Please see the Yocto Project Development Manual sections entitled +'Using Scripts to Push a Change Upstream and Request a Pull' and +'Using Email to Submit a Patch' for details. + +Regardless of how you submit a patch or patchset, the patches should +at minimum follow the suggestions outlined in the 'Submitting a Change +to the Yocto Project' section in the Yocto Project Development Manual. +Specifically, they should: + + - Include a 'Signed-off-by:' line. A commit can't legally be pulled + in without this. + + - Provide a single-line, short summary of the change. This short + description should be prefixed by the BSP or recipe name, as + appropriate, followed by a colon. Capitalize the first character + of the summary (following the colon). + + - For the body of the commit message, provide detailed information + that describes what you changed, why you made the change, and the + approach you used. + + - If the change addresses a specific bug or issue that is associated + with a bug-tracking ID, include a reference to that ID in your + detailed description in the following format: [YOCTO #]. + + - Pay attention to line length - please don't allow any particular + line in the commit message to stretch past 72 characters. + + - For any non-trivial patch, provide information about how you + tested the patch, and for any non-trivial or non-obvious testing + setup, provide details of that setup. + +Doing a quick 'git log' in meta-intel will provide you with many +examples of good example commits if you have questions about any +aspect of the preferred format. + +The meta-intel maintainers will do their best to review and/or pull in +a patch or patchset within 24 hours of the time it was posted. For +larger and/or more involved patches and patchsets, the review process +may take longer. + +Please see the meta-intel/MAINTAINERS file for the list of maintainers +and their specific areas; it's also a good idea to cc: the specific +maintainer, if applicable. diff --git a/meta-qat/conf/include/maintainers.inc b/meta-qat/conf/include/maintainers.inc new file mode 100644 index 00000000..9f4c2e31 --- /dev/null +++ b/meta-qat/conf/include/maintainers.inc @@ -0,0 +1,5 @@ +# This file contains a list of recipe maintainers for meta-intel + +RECIPE_MAINTAINER_pn-openssl-qat = "TBD DPDK Flex Team" +RECIPE_MAINTAINER_pn-qat16 = "TBD DPDK Flex Team" +RECIPE_MAINTAINER_pn-zlib-qat = "TBD DPDK Flex Team" diff --git a/meta-qat/conf/layer.conf b/meta-qat/conf/layer.conf new file mode 100644 index 00000000..08921659 --- /dev/null +++ b/meta-qat/conf/layer.conf @@ -0,0 +1,18 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "intel-qat" +BBFILE_PATTERN_intel-qat := "^${LAYERDIR}/" +BBFILE_PRIORITY_intel-qat = "5" + +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_intel-qat = "1" +LAYERSERIES_COMPAT_intel-qat = "rocko" + + +require ${LAYERDIR}/conf/include/maintainers.inc diff --git a/common/recipes-extended/openssl-qat/openssl-qat.inc b/meta-qat/recipes-extended/openssl-qat/openssl-qat.inc similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat.inc rename to meta-qat/recipes-extended/openssl-qat/openssl-qat.inc diff --git a/common/recipes-extended/openssl-qat/openssl-qat/0001-Use_sched_yield_api.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/0001-Use_sched_yield_api.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/0001-Use_sched_yield_api.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/0001-Use_sched_yield_api.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-openssl-async-specific-symbols.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-openssl-async-specific-symbols.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-openssl-async-specific-symbols.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-openssl-async-specific-symbols.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-version-script.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-version-script.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-version-script.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl-qat_0.4.9-009-openssl_qat-add-version-script.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-build-qat_mem-ko-against-yocto-kernel.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-build-qat_mem-ko-against-yocto-kernel.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-build-qat_mem-ko-against-yocto-kernel.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-build-qat_mem-ko-against-yocto-kernel.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-install-engines-in-libdir-ssl.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-install-engines-in-libdir-ssl.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-install-engines-in-libdir-ssl.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-install-engines-in-libdir-ssl.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-pass-oe_ldflags-to-linker.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-pass-oe_ldflags-to-linker.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-pass-oe_ldflags-to-linker.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-pass-oe_ldflags-to-linker.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-remove-redundant-rpaths.patch b/meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-remove-redundant-rpaths.patch similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-remove-redundant-rpaths.patch rename to meta-qat/recipes-extended/openssl-qat/openssl-qat/openssl_qat-remove-redundant-rpaths.patch diff --git a/common/recipes-extended/openssl-qat/openssl-qat_0.4.9-009.bb b/meta-qat/recipes-extended/openssl-qat/openssl-qat_0.4.9-009.bb similarity index 100% rename from common/recipes-extended/openssl-qat/openssl-qat_0.4.9-009.bb rename to meta-qat/recipes-extended/openssl-qat/openssl-qat_0.4.9-009.bb diff --git a/common/recipes-extended/qat/qat16.inc b/meta-qat/recipes-extended/qat/qat16.inc similarity index 100% rename from common/recipes-extended/qat/qat16.inc rename to meta-qat/recipes-extended/qat/qat16.inc diff --git a/common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch b/meta-qat/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch similarity index 100% rename from common/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch rename to meta-qat/recipes-extended/qat/qat16/0001-OsalServices-Only-use-bits-time-with-GLIBC.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-add-install-target-to-makefiles.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-add-install-target-to-makefiles.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-add-install-target-to-makefiles.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-add-install-target-to-makefiles.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-add-install-target-to-makefiles.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-add-install-target-to-makefiles.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-add-install-target-to-makefiles.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-add-install-target-to-makefiles.patch diff --git a/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch b/meta-qat/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch similarity index 100% rename from common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch rename to meta-qat/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch diff --git a/common/recipes-extended/qat/qat16/use-CC-for-LD.patch b/meta-qat/recipes-extended/qat/qat16/use-CC-for-LD.patch similarity index 100% rename from common/recipes-extended/qat/qat16/use-CC-for-LD.patch rename to meta-qat/recipes-extended/qat/qat16/use-CC-for-LD.patch diff --git a/common/recipes-extended/qat/qat16_2.5.0-80.bb b/meta-qat/recipes-extended/qat/qat16_2.5.0-80.bb similarity index 100% rename from common/recipes-extended/qat/qat16_2.5.0-80.bb rename to meta-qat/recipes-extended/qat/qat16_2.5.0-80.bb diff --git a/common/recipes-extended/qat/qat16_2.6.0-65.bb b/meta-qat/recipes-extended/qat/qat16_2.6.0-65.bb similarity index 100% rename from common/recipes-extended/qat/qat16_2.6.0-65.bb rename to meta-qat/recipes-extended/qat/qat16_2.6.0-65.bb diff --git a/common/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch b/meta-qat/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch similarity index 100% rename from common/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch rename to meta-qat/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch diff --git a/common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-qat_mem-build-qat_mem-ko-against-yocto-kernel-src.patch b/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 similarity index 100% rename from common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-qat_mem-build-qat_mem-ko-against-yocto-kernel-src.patch rename to 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 diff --git a/common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-Remove-rpaths-from-makefile.patch b/meta-qat/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-Remove-rpaths-from-makefile.patch similarity index 100% rename from common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-Remove-rpaths-from-makefile.patch rename to meta-qat/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-Remove-rpaths-from-makefile.patch diff --git a/common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch b/meta-qat/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch similarity index 100% rename from common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch rename to meta-qat/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch diff --git a/common/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb b/meta-qat/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb similarity index 100% rename from common/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb rename to meta-qat/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb