Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/55084/?format=api
http://patches.dpdk.org/api/patches/55084/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1560964274-83070-4-git-send-email-nicolas.chautru@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": "<1560964274-83070-4-git-send-email-nicolas.chautru@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1560964274-83070-4-git-send-email-nicolas.chautru@intel.com", "date": "2019-06-19T17:11:14", "name": "[v6,3/3] baseband/turbo_sw: meson build support for PMD driver", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ce000985d96349c08b7178487f64624a839db01e", "submitter": { "id": 1314, "url": "http://patches.dpdk.org/api/people/1314/?format=api", "name": "Chautru, Nicolas", "email": "nicolas.chautru@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1560964274-83070-4-git-send-email-nicolas.chautru@intel.com/mbox/", "series": [ { "id": 5087, "url": "http://patches.dpdk.org/api/series/5087/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5087", "date": "2019-06-19T17:11:11", "name": "BBDEV turbo_sw PMD compilation fix", "version": 6, "mbox": "http://patches.dpdk.org/series/5087/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/55084/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/55084/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 939C21D0F8;\n\tWed, 19 Jun 2019 19:12:11 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id C9F161C5A2\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 19:12:01 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Jun 2019 10:12:00 -0700", "from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210])\n\tby orsmga007.jf.intel.com with ESMTP; 19 Jun 2019 10:12:00 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.63,393,1557212400\"; d=\"scan'208\";a=\"150665865\"", "From": "Nicolas Chautru <nicolas.chautru@intel.com>", "To": "akhil.goyal@nxp.com,\n\tdev@dpdk.org", "Cc": "ferruh.yigit@intel.com, thomas@monjalon.net, amr.mokhtar@intel.com,\n\tkamilx.chalupnik@intel.com, Nicolas Chautru <nicolas.chautru@intel.com>", "Date": "Wed, 19 Jun 2019 10:11:14 -0700", "Message-Id": "<1560964274-83070-4-git-send-email-nicolas.chautru@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1560964274-83070-1-git-send-email-nicolas.chautru@intel.com>", "References": "<1560444716-18594-2-git-send-email-nicolas.chautru@intel.com>\n\t<1560964274-83070-1-git-send-email-nicolas.chautru@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 3/3] baseband/turbo_sw: meson build support\n\tfor PMD driver", "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": "Turbo_sw PMD driver now building with meson/ninja\nwith or without SDK libraries.\n\nAcked-by: Kamil Chalupnik <kamilx.chalupnik@intel.com>\nAcked-by: Nicolas Chautru <nicolas.chautru@intel.com>\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n drivers/baseband/meson.build | 2 +-\n drivers/baseband/turbo_sw/meson.build | 30 ++++++++++++++++++++++++++++++\n meson_options.txt | 2 ++\n 3 files changed, 33 insertions(+), 1 deletion(-)\n create mode 100644 drivers/baseband/turbo_sw/meson.build", "diff": "diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build\nindex 52489df..40a87d2 100644\n--- a/drivers/baseband/meson.build\n+++ b/drivers/baseband/meson.build\n@@ -1,7 +1,7 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n \n-drivers = ['null']\n+drivers = ['null', 'turbo_sw']\n \n config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'\n driver_name_fmt = 'rte_pmd_@0@'\ndiff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build\nnew file mode 100644\nindex 0000000..9b4fe34\n--- /dev/null\n+++ b/drivers/baseband/turbo_sw/meson.build\n@@ -0,0 +1,30 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2019 Intel Corporation\n+\n+path = get_option('flexran_sdk')\n+\n+if dpdk_conf.has('RTE_BBDEV_SDK_AVX2')\n+\tlib = cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: false)\n+\tif not lib.found()\n+\t\tbuild = false\n+\telse\n+\t\text_deps += cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: true)\n+\t\text_deps += cc.find_library('libcrc', dirs: [path + '/lib_crc'], required: true)\n+\t\text_deps += cc.find_library('librate_matching', dirs: [path + '/lib_rate_matching'], required: true)\n+\t\text_deps += cc.find_library('libcommon', dirs: [path + '/lib_common'], required: true)\n+\t\text_deps += cc.find_library('libstdc++', required: true)\n+\t\text_deps += cc.find_library('libirc', required: true)\n+\t\text_deps += cc.find_library('libimf', required: true)\n+\t\text_deps += cc.find_library('libipps', required: true)\n+\t\text_deps += cc.find_library('libsvml', required: true)\n+\t\tincludes += include_directories(path + '/lib_turbo')\n+\t\tincludes += include_directories(path + '/lib_crc')\n+\t\tincludes += include_directories(path + '/lib_rate_matching')\n+\t\tincludes += include_directories(path + '/lib_common')\n+\tendif\n+endif\n+\n+deps += ['bbdev', 'bus_vdev', 'ring']\n+name = 'bbdev_turbo_sw'\n+allow_experimental_apis = true\n+sources = files('bbdev_turbo_software.c')\ndiff --git a/meson_options.txt b/meson_options.txt\nindex 16d9f92..92d3e97 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -10,6 +10,8 @@ option('enable_kmods', type: 'boolean', value: true,\n \tdescription: 'build kernel modules')\n option('examples', type: 'string', value: '',\n \tdescription: 'Comma-separated list of examples to build by default')\n+option('flexran_sdk', type: 'string', value: '',\n+\tdescription: 'Path to FlexRAN SDK optional Libraries for BBDEV device')\n option('ibverbs_link', type: 'combo', choices : ['shared', 'dlopen'], value: 'shared',\n \tdescription: 'Linkage method (shared/dlopen) for Mellanox PMDs with ibverbs dependencies.')\n option('include_subdir_arch', type: 'string', value: '',\n", "prefixes": [ "v6", "3/3" ] }{ "id": 55084, "url": "