Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/42985/?format=api
http://patches.dpdk.org/api/patches/42985/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1531411499-13156-4-git-send-email-fiona.trahe@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": "<1531411499-13156-4-git-send-email-fiona.trahe@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1531411499-13156-4-git-send-email-fiona.trahe@intel.com", "date": "2018-07-12T16:04:46", "name": "[v6,03/16] compress/qat: add meson build", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f7c3c8c4de0dc0530f360f370f7ecbf507340dac", "submitter": { "id": 423, "url": "http://patches.dpdk.org/api/people/423/?format=api", "name": "Fiona Trahe", "email": "fiona.trahe@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/1531411499-13156-4-git-send-email-fiona.trahe@intel.com/mbox/", "series": [ { "id": 520, "url": "http://patches.dpdk.org/api/series/520/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=520", "date": "2018-07-11T11:56:53", "name": "compress/qat: add compression PMD", "version": 5, "mbox": "http://patches.dpdk.org/series/520/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/42985/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/42985/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 EC9D61B4B9;\n\tThu, 12 Jul 2018 18:05:22 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id A07061B3B4\n\tfor <dev@dpdk.org>; Thu, 12 Jul 2018 18:05:15 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 Jul 2018 09:05:14 -0700", "from sivswdev01.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.45])\n\tby fmsmga006.fm.intel.com with ESMTP; 12 Jul 2018 09:05:13 -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,343,1526367600\"; d=\"scan'208\";a=\"245184160\"", "From": "Fiona Trahe <fiona.trahe@intel.com>", "To": "dev@dpdk.org", "Cc": "pablo.de.lara.guarch@intel.com, fiona.trahe@intel.com,\n\ttomaszx.jozwiak@intel.com", "Date": "Thu, 12 Jul 2018 17:04:46 +0100", "Message-Id": "<1531411499-13156-4-git-send-email-fiona.trahe@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": "<1531310229-17448-1-git-send-email-fiona.trahe@intel.com>", "References": "<1531310229-17448-1-git-send-email-fiona.trahe@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 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": "Add 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 | 10 ++--------\n drivers/crypto/qat/rte_pmd_qat_version.map | 3 ---\n 6 files changed, 25 insertions(+), 13 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 6ec0bd3..e23f727 100644\n--- a/drivers/common/qat/Makefile\n+++ b/drivers/common/qat/Makefile\n@@ -57,7 +57,7 @@ LDLIBS += -lrte_pci -lrte_bus_pci\n SYMLINK-y-include +=\n \n # versioning export map\n-EXPORT_MAP := ../../crypto/qat/rte_pmd_qat_version.map\n+EXPORT_MAP := ../../compress/qat/rte_pmd_qat_version.map\n \n \n include $(RTE_SDK)/mk/rte.lib.mk\ndiff --git a/drivers/compress/meson.build b/drivers/compress/meson.build\nindex fb136e1..2352ad5 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 0000000..9d15076\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 0000000..ad6e191\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 2873637..d7cff68 100644\n--- a/drivers/crypto/qat/meson.build\n+++ b/drivers/crypto/qat/meson.build\n@@ -1,6 +1,8 @@\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 if dep.found()\n@@ -13,12 +15,4 @@ if dep.found()\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 bbaf1c8..0000000\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": [ "v6", "03/16" ] }{ "id": 42985, "url": "