Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/43026/?format=api
http://patches.dpdk.org/api/patches/43026/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180713022825.33106-4-pablo.de.lara.guarch@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20180713022825.33106-4-pablo.de.lara.guarch@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180713022825.33106-4-pablo.de.lara.guarch@intel.com", "date": "2018-07-13T02:28:12", "name": "[v7,03/16] compress/qat: add meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9194a70301c0e70edc68124c68ffc74beb2febb9", "submitter": { "id": 9, "url": "http://patches.dpdk.org/api/people/9/?format=api", "name": "De Lara Guarch, Pablo", "email": "pablo.de.lara.guarch@intel.com" }, "delegate": { "id": 22, "url": "http://patches.dpdk.org/api/users/22/?format=api", "username": "pdelarag", "first_name": "Pablo", "last_name": "de Lara Guarch", "email": "pablo.de.lara.guarch@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180713022825.33106-4-pablo.de.lara.guarch@intel.com/mbox/", "series": [ { "id": 561, "url": "http://patches.dpdk.org/api/series/561/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=561", "date": "2018-07-13T02:28:09", "name": "compress/qat: add compression PMD", "version": 7, "mbox": "http://patches.dpdk.org/series/561/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/43026/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/43026/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 063185B1A;\n\tFri, 13 Jul 2018 12:34:17 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 820484F9B\n\tfor <dev@dpdk.org>; Fri, 13 Jul 2018 12:34:09 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jul 2018 03:34:09 -0700", "from silpixa00399466.ir.intel.com (HELO\n\tsilpixa00399466.ger.corp.intel.com) ([10.237.223.220])\n\tby orsmga004.jf.intel.com with ESMTP; 13 Jul 2018 03:34:07 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,347,1526367600\"; d=\"scan'208\";a=\"215718177\"", "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>", "To": "fiona.trahe@intel.com, tomaszx.jozwiak@intel.com, john.griffin@intel.com,\n\tdeepak.k.jain@intel.com", "Cc": "dev@dpdk.org", "Date": "Fri, 13 Jul 2018 03:28:12 +0100", "Message-Id": "<20180713022825.33106-4-pablo.de.lara.guarch@intel.com>", "X-Mailer": "git-send-email 2.14.4", "In-Reply-To": "<20180713022825.33106-1-pablo.de.lara.guarch@intel.com>", "References": "<1531411499-13156-1-git-send-email-fiona.trahe@intel.com>\n\t<20180713022825.33106-1-pablo.de.lara.guarch@intel.com>", "Subject": "[dpdk-dev] [PATCH v7 03/16] compress/qat: add meson build", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Fiona Trahe <fiona.trahe@intel.com>\n\nAdd meson build files.\n\nSigned-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n drivers/common/qat/Makefile | 2 +-\n drivers/compress/meson.build | 2 +-\n drivers/compress/qat/meson.build | 18 ++++++++++++++++++\n drivers/compress/qat/rte_pmd_qat_version.map | 3 +++\n drivers/crypto/qat/meson.build | 14 ++++----------\n drivers/crypto/qat/rte_pmd_qat_version.map | 3 ---\n 6 files changed, 27 insertions(+), 15 deletions(-)\n create mode 100644 drivers/compress/qat/meson.build\n create mode 100644 drivers/compress/qat/rte_pmd_qat_version.map\n delete mode 100644 drivers/crypto/qat/rte_pmd_qat_version.map", "diff": "diff --git a/drivers/common/qat/Makefile b/drivers/common/qat/Makefile\nindex 2a4c99bc1..c68a032a5 100644\n--- a/drivers/common/qat/Makefile\n+++ b/drivers/common/qat/Makefile\n@@ -60,7 +60,7 @@ ifdef build_qat\n \tSYMLINK-y-include +=\n \n \t# versioning export map\n-\tEXPORT_MAP := ../../crypto/qat/rte_pmd_qat_version.map\n+\tEXPORT_MAP := ../../compress/qat/rte_pmd_qat_version.map\n endif\n \n include $(RTE_SDK)/mk/rte.lib.mk\ndiff --git a/drivers/compress/meson.build b/drivers/compress/meson.build\nindex fb136e1b2..2352ad5bc 100644\n--- a/drivers/compress/meson.build\n+++ b/drivers/compress/meson.build\n@@ -1,7 +1,7 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n-drivers = ['isal']\n+drivers = ['isal', 'qat']\n \n std_deps = ['compressdev'] # compressdev pulls in all other needed deps\n config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'\ndiff --git a/drivers/compress/qat/meson.build b/drivers/compress/qat/meson.build\nnew file mode 100644\nindex 000000000..9d15076dc\n--- /dev/null\n+++ b/drivers/compress/qat/meson.build\n@@ -0,0 +1,18 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2017-2018 Intel Corporation\n+\n+\n+# Add our sources files to the list\n+allow_experimental_apis = true\n+qat_sources += files('qat_comp_pmd.c',\n+\t\t 'qat_comp.c')\n+qat_includes += include_directories('.')\n+qat_deps += 'compressdev'\n+qat_ext_deps += dep\n+\n+# build the whole driver\n+sources += qat_sources\n+cflags += qat_cflags\n+deps += qat_deps\n+ext_deps += qat_ext_deps\n+includes += qat_includes\ndiff --git a/drivers/compress/qat/rte_pmd_qat_version.map b/drivers/compress/qat/rte_pmd_qat_version.map\nnew file mode 100644\nindex 000000000..ad6e191e4\n--- /dev/null\n+++ b/drivers/compress/qat/rte_pmd_qat_version.map\n@@ -0,0 +1,3 @@\n+DPDK_18.08 {\n+\tlocal: *;\n+};\ndiff --git a/drivers/crypto/qat/meson.build b/drivers/crypto/qat/meson.build\nindex 2873637de..9cc98d2c2 100644\n--- a/drivers/crypto/qat/meson.build\n+++ b/drivers/crypto/qat/meson.build\n@@ -1,24 +1,18 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017-2018 Intel Corporation\n \n+# this does not build the QAT driver, instead that is done in the compression\n+# driver which comes later. Here we just add our sources files to the list\n build = false\n dep = dependency('libcrypto', required: false)\n+qat_includes += include_directories('.')\n+qat_deps += 'cryptodev'\n if dep.found()\n \t# Add our sources files to the list\n \tqat_sources += files('qat_sym_pmd.c',\n \t\t\t 'qat_sym.c',\n \t\t\t 'qat_sym_session.c')\n-\tqat_includes += include_directories('.')\n-\tqat_deps += 'cryptodev'\n \tqat_ext_deps += dep\n \tpkgconfig_extra_libs += '-lcrypto'\n \tqat_cflags += '-DBUILD_QAT_SYM'\n-\n-\t# build the whole driver\n-\tsources += qat_sources\n-\tcflags += qat_cflags\n-\tdeps += qat_deps\n-\text_deps += qat_ext_deps\n-\tincludes += qat_includes\n-\tbuild = true\n endif\ndiff --git a/drivers/crypto/qat/rte_pmd_qat_version.map b/drivers/crypto/qat/rte_pmd_qat_version.map\ndeleted file mode 100644\nindex bbaf1c850..000000000\n--- a/drivers/crypto/qat/rte_pmd_qat_version.map\n+++ /dev/null\n@@ -1,3 +0,0 @@\n-DPDK_2.2 {\n-\tlocal: *;\n-};\n\\ No newline at end of file\n", "prefixes": [ "v7", "03/16" ] }{ "id": 43026, "url": "