Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83806/?format=api
http://patches.dpdk.org/api/patches/83806/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1604649795-27476-13-git-send-email-juraj.linkes@pantheon.tech/", "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": "<1604649795-27476-13-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1604649795-27476-13-git-send-email-juraj.linkes@pantheon.tech", "date": "2020-11-06T08:03:13", "name": "[v8,12/14] build: disable Arm drivers", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "eb5d9b8d59ac4b42467b1ba7c504c6ebcc942cb0", "submitter": { "id": 1626, "url": "http://patches.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1604649795-27476-13-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 13717, "url": "http://patches.dpdk.org/api/series/13717/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13717", "date": "2020-11-06T08:03:01", "name": "Arm build options rework", "version": 8, "mbox": "http://patches.dpdk.org/series/13717/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83806/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83806/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 579E7A0524;\n\tFri, 6 Nov 2020 09:07:28 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C77BD72F0;\n\tFri, 6 Nov 2020 09:03:44 +0100 (CET)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id D7DF26889\n for <dev@dpdk.org>; Fri, 6 Nov 2020 09:03:38 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 5AE66B6B63;\n Fri, 6 Nov 2020 09:03:36 +0100 (CET)", "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id fjTXGG8a3FAx; Fri, 6 Nov 2020 09:03:35 +0100 (CET)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 3904CB6B72;\n Fri, 6 Nov 2020 09:03:29 +0100 (CET)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "bruce.richardson@intel.com, Ruifeng.Wang@arm.com,\n Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com,\n Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com,\n ajit.khaparde@broadcom.com, ferruh.yigit@intel.com, aconole@redhat.com", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Date": "Fri, 6 Nov 2020 09:03:13 +0100", "Message-Id": "<1604649795-27476-13-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1604649795-27476-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1604584762-25321-1-git-send-email-juraj.linkes@pantheon.tech>\n <1604649795-27476-1-git-send-email-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v8 12/14] build: disable Arm drivers", "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "A few options that disabled drivers in the old makefiles were improperly\nported to the meson build system. Fix this by adding a to the list of\ndisabled drivers, similarly how the command line option works. Remove\nunneeded driver options ported from the old makefile system.\nAdd support for removing drivers for cross builds.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n config/arm/arm64_armada_linux_gcc | 1 +\n config/arm/arm64_armv8_linux_gcc | 3 +++\n config/arm/meson.build | 7 +++----\n drivers/meson.build | 6 +++++-\n meson.build | 1 +\n 5 files changed, 13 insertions(+), 5 deletions(-)", "diff": "diff --git a/config/arm/arm64_armada_linux_gcc b/config/arm/arm64_armada_linux_gcc\nindex 73945fbb4..7383f42e2 100644\n--- a/config/arm/arm64_armada_linux_gcc\n+++ b/config/arm/arm64_armada_linux_gcc\n@@ -17,3 +17,4 @@ endian = 'little'\n implementer_id = '0x56'\n max_lcores = 16\n max_numa_nodes = 1\n+disabled_drivers = ['bus/dpaa', 'bus/fslmc', 'common/dpaax']\ndiff --git a/config/arm/arm64_armv8_linux_gcc b/config/arm/arm64_armv8_linux_gcc\nindex fb24be5fc..245e06e5f 100644\n--- a/config/arm/arm64_armv8_linux_gcc\n+++ b/config/arm/arm64_armv8_linux_gcc\n@@ -52,3 +52,6 @@ part_number = 'generic'\n # max_lcores = n # will set RTE_MAX_LCORE\n max_lcores = 256\n max_numa_nodes = 4\n+\n+# disabled_drivers = ['bus/dpaa', 'crypto']\n+ # add to the set of disabled libraries\ndiff --git a/config/arm/meson.build b/config/arm/meson.build\nindex e9bb60045..a39a35b6a 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -3,6 +3,9 @@\n # Copyright(c) 2017 Cavium, Inc\n # Copyright(c) 2020 PANTHEON.tech s.r.o.\n \n+# disable Arm drivers for all builds\n+disabled_drivers += ['net/avp', 'net/fm10k']\n+\n # common flags to all aarch64 builds, with lowest priority\n flags_common_default = [\n \t# Accelarate rte_memcpy. Be sure to run unit test (memcpy_perf_autotest)\n@@ -17,9 +20,6 @@ flags_common_default = [\n \t#\t['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF],\n \t#\t['RTE_ARM64_MEMCPY_STRICT_ALIGN', false],\n \n-\t['RTE_NET_FM10K', false],\n-\t['RTE_NET_AVP', false],\n-\n \t['RTE_SCHED_VECTOR', false],\n \t['RTE_ARM_USE_WFE', false],\n \t['RTE_ARCH_ARM64', true],\n@@ -124,7 +124,6 @@ implementers = {\n \t\t\t\t\t['RTE_MACHINE', '\"octeontx2\"'],\n \t\t\t\t\t['RTE_ARM_FEATURE_ATOMICS', true],\n \t\t\t\t\t['RTE_USE_C11_MEM_MODEL', true],\n-\t\t\t\t\t['RTE_EAL_IGB_UIO', false],\n \t\t\t\t\t['RTE_MAX_LCORE', 36],\n \t\t\t\t\t['RTE_MAX_NUMA_NODES', 1]\n \t\t\t\t]\ndiff --git a/drivers/meson.build b/drivers/meson.build\nindex 4bb7e9218..a997387ad 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -18,9 +18,13 @@ subdirs = [\n \t'baseband', # depends on common and bus.\n ]\n \n-disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers'),\n+disabled_drivers += run_command(list_dir_globs, get_option('disable_drivers'),\n \t\t).stdout().split()\n \n+if meson.is_cross_build()\n+\tdisabled_drivers += meson.get_cross_property('disabled_drivers', [])\n+endif\n+\n default_cflags = machine_args\n default_cflags += ['-DALLOW_EXPERIMENTAL_API']\n default_cflags += ['-DALLOW_INTERNAL_API']\ndiff --git a/meson.build b/meson.build\nindex 61d9a4f5f..8dadd70dc 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -21,6 +21,7 @@ dpdk_drivers = []\n dpdk_extra_ldflags = []\n dpdk_libs_disabled = []\n dpdk_drvs_disabled = []\n+disabled_drivers = []\n abi_version_file = files('ABI_VERSION')\n \n if host_machine.cpu_family().startswith('x86')\n", "prefixes": [ "v8", "12/14" ] }{ "id": 83806, "url": "