Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84019/?format=api
http://patches.dpdk.org/api/patches/84019/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1605100718-7991-12-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": "<1605100718-7991-12-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1605100718-7991-12-git-send-email-juraj.linkes@pantheon.tech", "date": "2020-11-11T13:18:35", "name": "[v9,11/14] build: disable Arm drivers", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "db8ed71b3ffedf88b6c4c748cc1954b36ac9aa08", "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/1605100718-7991-12-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 13812, "url": "http://patches.dpdk.org/api/series/13812/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13812", "date": "2020-11-11T13:18:24", "name": "Arm build options rework", "version": 9, "mbox": "http://patches.dpdk.org/series/13812/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/84019/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/84019/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 652A8A09D9;\n\tWed, 11 Nov 2020 14:22:46 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1DB8D9B01;\n\tWed, 11 Nov 2020 14:19:15 +0100 (CET)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id 433535AB7\n for <dev@dpdk.org>; Wed, 11 Nov 2020 14:19:00 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 79234B92ED;\n Wed, 11 Nov 2020 14:18:57 +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 7JKPEsOxXmUH; Wed, 11 Nov 2020 14:18:56 +0100 (CET)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 11111B7E74;\n Wed, 11 Nov 2020 14:18:51 +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", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Date": "Wed, 11 Nov 2020 14:18:35 +0100", "Message-Id": "<1605100718-7991-12-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1605100718-7991-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1604649795-27476-1-git-send-email-juraj.linkes@pantheon.tech>\n <1605100718-7991-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 v9 11/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/meson.build | 7 +++----\n doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 4 ++++\n drivers/meson.build | 6 +++++-\n meson.build | 1 +\n 5 files changed, 14 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/meson.build b/config/arm/meson.build\nindex fdc402898..7233db120 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 = [\n \t# Accelerate rte_memcpy. Be sure to run unit test (memcpy_perf_autotest)\n@@ -17,9 +20,6 @@ flags_common = [\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@@ -127,7 +127,6 @@ implementer_cavium = {\n \t\t\t\t['RTE_MACHINE', '\"octeontx2\"'],\n \t\t\t\t['RTE_ARM_FEATURE_ATOMICS', true],\n \t\t\t\t['RTE_USE_C11_MEM_MODEL', true],\n-\t\t\t\t['RTE_EAL_IGB_UIO', false],\n \t\t\t\t['RTE_MAX_LCORE', 36],\n \t\t\t\t['RTE_MAX_NUMA_NODES', 1]\n \t\t\t]\ndiff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst\nindex 4e65b271c..210ad4508 100644\n--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst\n+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst\n@@ -143,3 +143,7 @@ There are other options you may specify in a cross file to tailor the build::\n Supported extra configuration\n max_numa_nodes = n # will set RTE_MAX_NUMA_NODES\n max_lcores = n # will set RTE_MAX_LCORE\n+\n+ disabled_drivers = ['bus/dpaa', 'crypto'] # add disabled drivers\n+ # valid values are directories (optionally with their subdirs)\n+ # in the drivers directory\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": [ "v9", "11/14" ] }{ "id": 84019, "url": "